Closed
Description
Right now, when adding a constraint validator to the DI configuration, you need to do:
services:
my_validator:
class: Acme\Constraints\MyValidator
tags:
- { name: validator.constraint_validator, alias: Acme\Constraints\MyValidator }
It should not be necessary to pass that alias, but right now it is.