I created my own validator. It has a DI. At the time of initialization of the application, the constructor has information about the class that is injected.
But if i try to validate data (@Validate(Unique Email)) i getting undefined in the method validate
Is there an existing issue for this?
Current behavior
I created my own validator. It has a DI. At the time of initialization of the application, the constructor has information about the class that is injected. But if i try to validate data (@Validate(Unique Email)) i getting undefined in the method validate
.
Minimum reproduction code
https://codesandbox.io/s/nervous-pateu-skz50j
Steps to reproduce
No response
Expected behavior