ajv-validator / ajv-validator/ajv-errors
Be able to set custom keyword for error messages
オープン
- 主要言語
- TypeScript
- スター
- 289
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。