nilportugues / php-json-api

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

Reversed hidden attribute commits, but kept empty "include=" fix #58

Closed OskarD closed 8 years ago

OskarD commented 8 years ago

The hidden attribute is only needed when the default value for filter was false, which is fixed here: https://github.com/nilportugues/php-api-transformer/pull/7

There is a fix for the exception thrown when a client uses "include=" without any parameters though

OskarD commented 8 years ago

https://github.com/nilportugues/laravel5-jsonapi/issues/61#issuecomment-217873675