Skip to content

Latest commit

 

History

History

validation-messages

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

example of custom validation errors using AJV and Fastify v3

This example show you how to customize the errors messages through input schema validation.

Check now the source code! You will find all the info there in the comments. There are also an example that explain how to write the tests!

You can run this project simply by:

cd validation-messages
npm i
npm start

NOTE: give a look also to the package.json to find out how the scripts are done 😉