Closed jainpiyush19 closed 2 years ago
The current implementation of possible types in the introspection query does not return values for interface types. Ex: Schema
interface Person { name: String! } type Cast implements Person { name: String! }
Introspection query
{ __type(name: "Person") { kind name possibleTypes { name } } }
Result :
{ "__type": { "kind": "INTERFACE", "name": "Person", "possibleTypes": null } }
Expected Result
{ "__type": { "kind": "INTERFACE", "name": "Person", "possibleTypes": [ { "name": "Cast" } ] } }
Fix #148
The current implementation of possible types in the introspection query does not return values for interface types. Ex: Schema
Introspection query
Result :
Expected Result