Skip to content

Commit 5f1cec1

Browse files
committed
fix rebase issue
1 parent f8719b2 commit 5f1cec1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/schema/schema-generator.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,10 @@ export abstract class SchemaGenerator {
399399
if (!typeTarget) {
400400
throw new InterfaceResolveTypeError(interfaceType);
401401
}
402-
return this.objectTypesInfo.find(type => type.target === typeTarget)!.type;
402+
const objectTypeInfo = implementingObjectTypesInfo.find(
403+
type => type.target === typeTarget,
404+
)!;
405+
return objectTypeInfo.type;
403406
},
404407
}),
405408
};

0 commit comments

Comments
 (0)