devour-client
devour-client copied to clipboard
Resolves #263 added a means to disable attaching relationship metadata on unresolved includes
Screenshot
N/A
What Changed & Why
Learn more at #263
Introduced a flag attachRelationshipDataOnUnresolvedIncludes which by default is set to true for backwards-compatibility purposes.
When set to true, Devour will continue to attach relationship metadata in the client's response on unresolved includes as it normally does.
When set to false however, Devour will abstain from attaching such metatada. This applies both for relationships of type hasMany and hasOne-
Testing
Just run the tests.
Documentation
Updated the README file with instructions.