Hello,

I have been playing with the Validator framework by following instructions
from the documentation and reading the code. It seems that it is not
possible to add dependencies to a ContraintValidator. The use case is pretty
simple : how can I check the uniqueness of a value set in a database ? The
constraint validator must have access to the Entity Manager.


-- 
Thomas Rabaix
http://rabaix.net

-- 
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