beam-community / jsonapi

JSON:API Serializer and Query Handler for Elixir
https://hex.pm/packages/jsonapi
MIT License
495 stars 78 forks source link

`options` parameter in serialize function is not supported by index et show function #242

Closed lohayon closed 2 months ago

lohayon commented 3 years ago

In the documentation, it seems to be an options parameter that be handled in the paginator image

but the code does not handle it. It is never sent to the serializer. Please, see :+1: https://github.com/jeregrine/jsonapi/blob/master/lib/jsonapi/view.ex#L261

lucacorti commented 2 years ago

It is sent to the serializer if you pass the :options key to render("index.json", %{...}).

github-actions[bot] commented 3 months ago

This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.

github-actions[bot] commented 2 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!