Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ja_serializer fields and include options #86

Open
tfwright opened this issue Feb 16, 2021 · 0 comments
Open

Using ja_serializer fields and include options #86

tfwright opened this issue Feb 16, 2021 · 0 comments
Labels

Comments

@tfwright
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants