jsonapi icon indicating copy to clipboard operation
jsonapi copied to clipboard

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

Open lohayon opened this issue 4 years ago • 2 comments

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

lohayon avatar Nov 16 '20 13:11 lohayon

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

lucacorti avatar May 09 '22 17:05 lucacorti