Hum is see in the Form class that validation is performed during data 
binding.

That way, my validation is performed two times.
Actually there is no way to tell a form to not perform validation, this 
could add an useless overhead when validating data in another layer.

What about adding two features to the forms :

1/ An option to prevent validation
2/ A method to set recursively (children) errors directly from a 
ConstraintViolationList

What do you think ?


--
Benjamin Dulau - anonymation CEO
anonymation.com | code.anonymation.com
[email protected]

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to