help wantedtype: enhancement
仓库指标
- 星标
- (1,581 个星标)
- PR 合并指标
- (平均合并 39天 6小时) (30 天内合并 1 个 PR)
描述
I would like the ability to ignore errors regarding casing.
The problem is validating json with improper casing ie {Name:"Derek"} vs {name:"Derek"} generates the error "NoAdditionalPropertiesAllowed". This is the same as the error I would get with the validation against {name1:"Derek"}. What are the thoughts of adding a ValidationErrorKind.PropertyMismatch that makes it easier to distinguish this.
I'm happy to hope in and code this, just want to make sure its inline with the goals of this open source project first.
Thanks!