-
Notifications
You must be signed in to change notification settings - Fork 226
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
"if present" validation #486
Comments
We actually had a discussion about this on Slack almost a year ago: |
@deissnerk the Slack app does not show replies on your question there. |
@clemensv It was not a thread, but @duglin replied the next day in the channel, and @duglin, you and me discussed. We basically concluded that null values should be interpreted as if the value was not present. Not all protocol bindings / formats support null values. Of course null values should not be confused with empty strings. |
@clemensv |
Any update from @clemensv ? I am unaware of |
We are getting this issue reported against Event Grid: https://twitter.com/jonatasbaldin/status/1256512556782452737?s=20
"currently, the
cloudschema
field is present but empty, and, per the spec: "If present, MUST be a non-empty URI""My stance is that a "null" value, i.e. the simple presence of the attribute name in a dynamic collection, does not indicate "present" in the sense of the rules we have for attributes. "null" is "no value" and therefore not present.
The text was updated successfully, but these errors were encountered: