Improve pattern filling of FieldValidationFailure
Open
feature
priority: undecided
Standardization
under discussion
- Dominant language
- Scala
- Stars
- 33
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
## 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.
Contributor guide
Assessment
This issue has not been assessed yet.