-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Document new Validation API options? #4094
Copy link
Copy link
Closed
Labels
ValidatoractionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.bug
Description
Hi guys!
Related to https://github.com/symfony/symfony/blob/master/UPGRADE-2.5.md#validator and https://github.com/symfony/symfony/blob/master/UPGRADE-3.0.md#validator - specifically, I'm talking about the new Validator API and options.
Needed changes:
- A) Update the
ExecutionContextInterfacenamespaces (see Update Callback.rst #4161 and 2.5 Validation API changes #4233) - B) Update the
addViolationAttobuildViolation - C) Add a cookbook entry to explain all of this stuff, and show how a bundle can support both versions
- D) Update the framework reference section with the
framework.validation.apioption. - E) Replace usages of deprecated method
validateValue()where needed. - F) Change signature of using
->validatewith a group argument:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ValidatoractionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.bug