Skip to content

Conversation

@patrick-mcdougle
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR will write if community wants this feature

Now that as of 3.0 the ExecutionContextInterface has a getObject method, the callback doesn't need to be static anymore, it can actually be on the object that's being validated. This is great because you can actually have dynamic choices and this validator will actually work. Maintainers are free to add commits to this branch.

@patrick-mcdougle patrick-mcdougle changed the title Allow Choice Constraint Callback to be non-static [Validator] Allow Choice Constraint Callback to be non-static Sep 17, 2016
@patrick-mcdougle
Copy link
Contributor Author

@webmozart Travis failure seems unrelated. What do you think?

@fabpot
Copy link
Member

fabpot commented Sep 17, 2016

👍

@ro0NL
Copy link
Contributor

ro0NL commented Sep 17, 2016

Duplicate of #19745 😭

@patrick-mcdougle
Copy link
Contributor Author

@ro0NL 😭 indeed. I totally didn't notice that. Someone should merge that one instead.

@patrick-mcdougle patrick-mcdougle deleted the pmcd-choice-validator-feature branch September 17, 2016 19:43
@ro0NL
Copy link
Contributor

ro0NL commented Sep 17, 2016

I know the feeling. And yes.. it totally feels like feature-freeze right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants