You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have an optional field, for exapmle of type string, to be valid a document can either have the string, have the field missing or have null instead of the string. Are my expectations incorrect?
Currently the null case errors with a ValidationException.
The text was updated successfully, but these errors were encountered:
Thats incorrect. An optional field with type "string" can be a string or the key can be omitted from the document. But having the key with the null value it will be valid by this schema:
If I have an optional field, for exapmle of type string, to be valid a document can either have the string, have the field missing or have null instead of the string. Are my expectations incorrect?
Currently the null case errors with a ValidationException.
The text was updated successfully, but these errors were encountered: