- Added patchAction for partial updates of a record in RestController.
- Added the necessary Methods for generating routes in ActionUtils/BasicLoader
- Added a new lib (php-jsonpatch and jsonpointer)
- Added a new rest-response (204 No Content)
Replaced tap with spaces
cs-fixer
Fixed code sniffer problems
Validate record has now a second parameter $content which contains the request params instead of getting the content directly from request object
- Added test for patch replace and add
- Added patch Method to test client
cs fixes
fixed typo
composer.lock / fix comment
Validation class for json input
- Get the class metadata from document manager to check if an attribute does not exist
-cs fixer
New JsonInput Validator
- Only validate input values if they're set or required
- Validate the resulting object after validating the input params and merge violations
- Clone the serializer context in getSerializerContext (can only be used once)
- Check if a record exists in putAction before deserialization and validation
- Service config for jsoninput validator / cs fixes
cs fixes
Removed comment
Merge branch 'feature/input-validation' into develop
Merge branch 'develop' into feature/json-ref
- Added patch verb in RestController
- Added new route for patch
- Added a patch method in test client
- Added tests for patch method
- Added new libs (jsonpointer/jsonpatch) to composer.json
Merge branch 'develop' into feature/json-ref