-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Add default
-normalization rule
#131
Labels
Comments
Now that we also transform the incoming document, I guess that stuff like this is welcome. Actually, we implemented a |
Is there a difference of Eve's rule-design to my proposal? |
Yes. Of course Eve does not have or need |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is a follow-up of this.
A
default
-rule would substitute anyNone
-values, empty Mapping and Sequence-instances and numbers equal to zero for a given field with the provided constraint's value while a document is normalized. if the field isn't present at all, it will be added to the document with the constraint's value.the
default
-constraint should be processed after coercing.example:
The text was updated successfully, but these errors were encountered: