Open thim81 opened 8 years ago
Same issue for "notempty"
Attempted to load class "notempty" from the global namespace.
Any idea what I'm missing?
Markus,
Can you tell me if I need to include a class for the validation?
Gimme a sec, I look into it
Yea, its bug...
Ok, so for now I have fixed the bundle to look for a service-reference named after the validation's name. That means you have to add a service of a class that extends \Symfony\Component\Validator\Constraint and named after the validation-type (for example: email).
I check if there is a more convenient way to reuse the logic of symfony-validator to automatically create constraints by name.
Should I pull the master? Or you prefer to keep using the releases?
For now, please use dev-master.
When trying the validation configuration
The cmd outputs the following error:
Part of the stack trace