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 optional parameters in NilPortugues\Api\JsonApi\Server\Actions\CreateResource #76

Open GSokol opened 8 years ago

GSokol commented 8 years ago

Some parameters could:

nilportugues commented 8 years ago

@GSokol

This can be solved already, but code needs to be added in place before release.

See https://github.com/nilportugues/php-json-api/commit/490b15f0a346ac989cf8e102d3aec2d2a1f059e3

Need to finish this release to allow this behaviour.

GSokol commented 8 years ago

Ok. Waiting for release.

GSokol commented 7 years ago

@nilportugues why could not be an object without required properties? (I mean, if we use NilPortugues\Api\Mapping\Mapping, created from symfony-jsonapi bundle by yamls)