Ghanshyam DigitalforGhanshyam Digitalblog.ghanshyamdigital.com·Jul 17, 2023How to Create a Custom Validator in AdonisJSIn 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, ...73 readsAdonisJSAdd a thoughtful commentNo comments yetBe the first to start the conversation.