Skip to content

Conversation

danielholmes
Copy link

Q A
Doc fix? no
New docs? yes (symfony/symfony#790)
Applies to 2.3+
Fixed tickets none

@wouterj
Copy link
Member

wouterj commented May 5, 2013

We did something twice: #2599 But I prefer your one, because you are the creator of those validator :)

Thanks for the contribution!

**type**: ``mixed`` [:ref:`default option<validation-default-option>`]

This required option is the comparison value. Validation will fail if the given
value doesn't equal this comparison value.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this option is always the same. Could you please use includes, like I did in my PR? That makes it easier to maintain

@danielholmes
Copy link
Author

@wouterj Ahh no I didn't see! Me being the creator of the PR should have no bearing on whether my docs are used. Yours look better in my opinion, so I'm closing this one. Funny that we both decided on the same example (Person and age)

@wouterj
Copy link
Member

wouterj commented May 5, 2013

ok, your choice.:) If you have any comments on PR, I'm happy to hear that.

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.

2 participants