jsonapi-rails
jsonapi-rails copied to clipboard
Raise on unsupported include fields
trafficstars
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!