I would like to create a file on the route
Inside it I define the schema with the
Now how do I call this validation through the controller / routes?
In adonis v4.1, it was only necessary to add the call as
route.get('route', 'controller').validator('UserValidator') in the routes.
Note: I`m using adonis v5.