cerebris / jsonapi-resources

A resource-focused Rails library for developing JSON:API compliant servers.
http://jsonapi-resources.com
MIT License
2.32k stars 533 forks source link

Co-erce non-present values like false to string #1387

Open bf4 opened 2 years ago

bf4 commented 2 years ago

We have a resource which calls another resource, and specifically calls 'verify_filters'. We discovered that in 0.9 and 0.10 verify_filter calls raw.present? which is false when raw is false. This change makes the processing of the true and false consistent.

All Submissions:

Bug fixes and Changes to Core Features:

Test Plan:

Reviewer Checklist: