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
Currently, if a field is sometimes null or absent and sometimes present and its type is explicitly documented, the field itself must be marked as optional otherwise a FieldTypesDoNotMatchException will be thrown. Field type resolution should consider the field to be optional if the field itself or any of its ancestors are marked as optional. This will align its behaviour with that used when finding missing fields.
The text was updated successfully, but these errors were encountered:
wilkinsona
changed the title
Optional ancestor fields are not considered when resolving the type of a field
Optionality of ancestor fields is not considered when resolving the type of a field
Dec 11, 2018
Currently, if a field is sometimes null or absent and sometimes present and its type is explicitly documented, the field itself must be marked as optional otherwise a
FieldTypesDoNotMatchException
will be thrown. Field type resolution should consider the field to be optional if the field itself or any of its ancestors are marked as optional. This will align its behaviour with that used when finding missing fields.The text was updated successfully, but these errors were encountered: