How to Create a Custom Validator in AdonisJS
In this blog post, we will show you how to create a custom validator in AdonisJS. We will use a sample rule that checks for the maximum length of a number.
First, we need to create a new file called validator.ts in the start directory. In this file, ...
blog.ghanshyamdigital.com2 min read