Closed wecc closed 5 years ago
Interfaces are now supported and their types are resolved using these methods in the following order:
$source['__typename']
$source
$source->__typename
Parent@resolveTypeFor[Field]()
[Field]
resolveType()
Closes #10
Interfaces are now supported and their types are resolved using these methods in the following order:
$source['__typename']
if$source
is an array.$source->__typename
if$source
is an object.Parent@resolveTypeFor[Field]()
where[Field]
is the name of the field. (onlyresolveType()
for queries and mutations).$source
if it's an object.Closes #10