ajv-validator / ajv-validator/ajv-errors
Be able to set custom keyword for error messages
Aberta
- Linguagem predominante
- TypeScript
- Estrelas
- 289
- Forks
- 21
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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!
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.