Skip to content

Commit

Permalink
Avoid calling function again
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Sep 15, 2024
1 parent 186976e commit f3d0d03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ export class BaseResolversVisitor<

res[typeName] = this.getAbstractMembersType({
typeName,
memberTypes: schemaType.getTypes(),
memberTypes,
isTypenameNonOptional: unionMember && !excludeTypes?.includes(typeName),
});
}
Expand Down

0 comments on commit f3d0d03

Please sign in to comment.