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 還沒有評估資料。