jsonapi-rails icon indicating copy to clipboard operation
jsonapi-rails copied to clipboard

Raise on unsupported include fields

Open AGarrow opened this issue 7 years ago • 0 comments
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!

AGarrow avatar Mar 01 '18 21:03 AGarrow