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.
Metadata
Metadata
Assignees
Labels
DX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)Ideal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)