ajv-validator / ajv-validator/ajv

Option to hide "control flow" errors?

未关闭
#1,676 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
14.8k
派生
1k
PR 合并指标
30 天内没有已合并 PR

描述

I would love to be able to filter error messages to contain only errors regarding the properties of a given JSON-Input.
Is this already possible via a configuration option?

Example:
https://stackblitz.com/edit/react-crmwbn

**What version of Ajv you are you using?**
8.6.1

**What problem do you want to solve?**
I want AJV to only return errors for properties and filter out all other errors.

**What do you think is the correct solution to problem?**
I am not sure if my proposal is a "correct" solution :)

**Will you be able to implement it?**
no, unfortunately not

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。