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

Raise on unsupported include fields #83

Open
AGarrow opened this issue Mar 1, 2018 · 0 comments
Open

Raise on unsupported include fields #83

AGarrow opened this issue Mar 1, 2018 · 0 comments

Comments

@AGarrow
Copy link

AGarrow commented Mar 1, 2018

according to the json api spec, endpoints must respond with a 400 if unsupported includes fields are requested. I can handle undefined activerecord associations on my end, but i'd like it if jsonapi also raised something if there are included fields that arent defined in my serializers.

Thanks in advance for your time!

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

No branches or pull requests

1 participant