#How to access context inside a custom validator class
1 messages · Page 1 of 1 (latest)
I cannot access the user object added to the request inside a custom validation
Do you see any errors?
With the API signature, it's not possible because the interface that is implemented gives 2 methods that are validate an defaulMessage .Their signature don't accept the context object.