nilportugues / php-json-api

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

Add support of "relationships" in resource creation. #79

Open GSokol opened 7 years ago

GSokol commented 7 years ago

Support "relationships" in resource creation like shown here: http://jsonapi.org/format/#crud-creating

HennerM commented 7 years ago

I think it's not easily possible, because this library doesn't know how it has to assign the realtionships, for example if there is a database involved in retrieving the associated resources.