ajv-validator / ajv-validator/ajv-errors
Be able to set custom keyword for error messages
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 289
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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!
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.