This repository was archived by the owner on Jan 30, 2020. It is now read-only.
8000
div>
-
Notifications
You must be signed in to change notification settings - Fork 49
'type' in Input config may be plugin name #2
Merged
Conversation
This file contains hidden or 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
Ping @weierophinney. Is there anything else I should add to this PR? Thank you. |
weierophinney
added a commit
that referenced
this pull request
Jun 23, 2015
'type' in Input config may be plugin name
weierophinney
added a commit
that referenced
this pull request
Jun 23, 2015
weierophinney
added a commit
to weierophinney/zend-inputfilter
that referenced
this pull request
Nov 7, 2017
… manager As reported in zendframework#8, a change in zendframework#2 now causes inputs pulled from the plugin manager within `Factory::createInput()` to be injected with the default filter and validator chains composed in the `Factory`. This can cause filter and validator chains created during construction or within th 72F4 e input's factory to be overwritten entirely. This patch adds conditions to skip injection of the default filter and validator chains on inputs pulled from the input filter manager, while retaining the logic introduced in zendframework#2 to allow values in the `$inputSpecification` to further configure the instance.
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.
Support for input plugin name in
'type'
input configuration key forZend\InputFilter\Factory::createInput()
.