nilportugues / php-json-api

JSON API transformer outputting valid (PSR-7) API Responses.
http://nilportugues.com
MIT License
71 stars 35 forks source link

WIP Incorrect included property names #89

Closed basz closed 7 years ago

basz commented 7 years ago

This PR shows (but not fixes) a camelCase to underscore_case issue for included objects properties.

Hopefully you are able to direct me to a solution as this is problematic and I can't seem to find the problem.

Edit: this only affects properties of included objects. And I am guessing this https://github.com/nilportugues/php-json-api/issues/87 is related and hopefully fixed when this bug is resolved.

basz commented 7 years ago

Hope this fix is correct