ajv-validator / ajv-validator/ajv-errors
Be able to set custom keyword for error messages
Open
- Dominant language
- TypeScript
- Stars
- 289
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Thanks for your great libraries. It's cool to work with.
Being able to define the key for the error messages could be nice.
maybe something like:
```
import Ajv from 'ajv'
import ajvErrors from 'ajv-errors'
let ajv = new Ajv({ allErrors: true })
ajv = ajvErrors(ajv, { keyword: "myCustomErrorMessage" })
```
what is your opinion about that?
thank for all!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.