ValidatorResolver does not build certain validators
If object types are specified with a leading backslash, for example in a model:
/** * @var \F3\Party\Domain\Model\PersonName */ protected $name;
... then they are not recognized by the validator resolver because it checks if an object with exactly that name is registered at the Object Manager. However, fully qualified class names must not start with a leading backslash when used in a string – therefore the Object Manager doesn't know such an object.
Therefore resolveValidatorObjectName() should strip a leading backslash from the given type, should one exist.