We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8719b2 commit 5f1cec1Copy full SHA for 5f1cec1
src/schema/schema-generator.ts
@@ -399,7 +399,10 @@ export abstract class SchemaGenerator {
399
if (!typeTarget) {
400
throw new InterfaceResolveTypeError(interfaceType);
401
}
402
- return this.objectTypesInfo.find(type => type.target === typeTarget)!.type;
+ const objectTypeInfo = implementingObjectTypesInfo.find(
403
+ type => type.target === typeTarget,
404
+ )!;
405
+ return objectTypeInfo.type;
406
},
407
}),
408
};
0 commit comments