Improve pattern filling of FieldValidationFailure
Đang mở
feature
priority: undecided
Standardization
under discussion
- Ngôn ngữ chính
- Scala
- Star
- 33
- Fork
- 16
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Background
The following code in `SchemaValidator.validateSchema` is somewhat contingent:
```
val pattern = if (s.field.metadata contains "pattern") s.field.metadata.getString("pattern") else "" //TODO look into this
errorsAccumulator += FieldValidationFailure(fieldWithPath.name, pattern, issues)
```
## Feature
Make the `pattern` filling more systematic.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.