ja_resource
ja_resource copied to clipboard
Using ja_serializer fields and include options
I would like to specify the relationships and fields I want to return on every endpoint, instead of once per serializer module. From the docs I gather the only way to do this currently would be to override the render_ function for each endpoint and pass the opts to the render call. Am I missing anything? Is there a better way?
Any tips for handling these options would be appreciated!