Before this change, the fieldFromArray and fieldFromObject methods were always used to try to resolve a field, even if a specific field resolver was available, if null was returned from the resolver.
Specifying a specific resolver for a field is a way to "override" the custom field resolving behavior (fieldFromArray and fieldFromObject).
With this change, we will take the value from the field resolver as the value for the field, even if the value happens to be null and not continue resolving the source as an array or object.
Before this change, the
fieldFromArray
andfieldFromObject
methods were always used to try to resolve a field, even if a specific field resolver was available, if null was returned from the resolver.Specifying a specific resolver for a field is a way to "override" the custom field resolving behavior (
fieldFromArray
andfieldFromObject
).With this change, we will take the value from the field resolver as the value for the field, even if the value happens to be null and not continue resolving the source as an array or object.