-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
2 / 22 of 2 issues completedDescription
Missing fields are a special case for rules and exclusions because they are not in the object.
Let's say we have the resource
{
# "name": "woolly-dormice-2015",
"title": "Body fat percentage in the hibernating woolly dormouse",
"path": "resources/woolly-dormice-2015/data.parquet",
# "version": "1.0.0",
}- If
versionis missing, I can't define a rule for it, not even a "version must exist" rule. This is because there is nothing to apply the rule to.- Solution: apply it to
None
- Solution: apply it to
- If
name, a required field, is missing, I can't exclude it withjsonpath="...name"because it is not in the descriptor.- Solution: handle excluding
requiredissues separately in a few lines of code
- Solution: handle excluding
It wouldn't be very difficult to support these use cases. Should we?
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done