Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default values support #8

Merged

Conversation

brain-diminished
Copy link
Contributor

Added support for default values (instead of systematic null) in handler classes SimpleHydratingHandler and SubHydratingHandler. Not setting this new variable will not change current behaviour.

Notice: Beware of the order of the parameters in SubHydratingHandler constructor! New parameter $defaultValue* has not been added at the end of the parameters list, but at the most relevant position, ie after $validators.

Signed-off-by: Dorian Savina <dorian.savina@gmail.com>
Signed-off-by: Dorian Savina <dorian.savina@gmail.com>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 88.179% when pulling b207054 on brain-diminished:feature/default-values into 73dfcf4 on thecodingmachine:1.x.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 88.179% when pulling b207054 on brain-diminished:feature/default-values into 73dfcf4 on thecodingmachine:1.x.

@moufmouf moufmouf merged commit f4177d6 into thecodingmachine:1.x Jan 11, 2018
@moufmouf
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants