ajv-validator / ajv-validator/ajv-errors
Be able to set custom keyword for error messages
Aperta
- Lingua principale
- TypeScript
- Stelle
- 289
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.