This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Separate collection inputfilter validation #96
Closed
tigran-m-dev
wants to merge
4
commits into
zfcampus:master
from
tigran-m-dev:separate_collection_inputfilter_validation
Closed
Separate collection inputfilter validation #96
tigran-m-dev
wants to merge
4
commits into
zfcampus:master
from
tigran-m-dev:separate_collection_inputfilter_validation
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update fork master branch
…dation for Collection, if we have collection and entity like PATCH and PATCH list
@developer-devPHP We need tests for those changes. |
@webimpress 'zf-content-validation' => [
'Application\Controller\HelloWorld' => [
'input_filter' => 'Application\Controller\HelloWorld\Validator',
'PUT' => 'Application\Controller\HelloWorld\UpdateValidator',
'PUT_COLLECTION' => 'Application\Controller\HelloWorld\UpdateCollectionValidator',
],
], |
Fixed existing test testReturnsEarlyIfControllerServiceIsNotInConfig added ZFContentNegotiationParameterData
@webimpress and @weierophinney |
weierophinney
added a commit
that referenced
this pull request
May 29, 2018
…tfilter_validation Separate collection inputfilter validation
weierophinney
added a commit
that referenced
this pull request
May 29, 2018
weierophinney
added a commit
that referenced
this pull request
May 29, 2018
Thanks, @developer-devPHP; merged to develop for release with 1.5.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new functionality to allow create separate validation inputfilters if we have REST API. For example if we have update (PUT) and updateList (PUT collection). Before this changes we can't specify different validation for update and updateList because they are both PUT request, but now it is possible to just specify key PUT and PUT_COLLECTION