|
96 | 96 | import static graphql.schema.GraphQLEnumValueDefinition.newEnumValueDefinition; |
97 | 97 | import static graphql.schema.GraphQLTypeReference.typeRef; |
98 | 98 | import static graphql.schema.idl.SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives; |
99 | | -import static graphql.schema.idl.SchemaGeneratorAppliedDirectiveHelper.buildDeprecationReason; |
100 | 99 | import static graphql.schema.idl.SchemaGeneratorAppliedDirectiveHelper.buildDirectiveDefinitionFromAst; |
101 | 100 | import static java.lang.String.format; |
102 | 101 | import static java.util.stream.Collectors.toMap; |
@@ -548,7 +547,7 @@ private void buildInterfaceTypeInterfaces(BuildContext buildCtx, |
548 | 547 | }); |
549 | 548 |
|
550 | 549 | extensions.forEach(extension -> extension.getImplements().forEach(type -> { |
551 | | - GraphQLInterfaceType interfaceType = buildOutputType(buildCtx, type); |
| 550 | + GraphQLNamedOutputType interfaceType = buildOutputType(buildCtx, type); |
552 | 551 | if (!interfaces.containsKey(interfaceType.getName())) { |
553 | 552 | interfaces.put(interfaceType.getName(), interfaceType); |
554 | 553 | } |
@@ -658,7 +657,7 @@ private void buildObjectTypeInterfaces(BuildContext buildCtx, |
658 | 657 | }); |
659 | 658 |
|
660 | 659 | extensions.forEach(extension -> extension.getImplements().forEach(type -> { |
661 | | - GraphQLInterfaceType interfaceType = buildOutputType(buildCtx, type); |
| 660 | + GraphQLNamedOutputType interfaceType = buildOutputType(buildCtx, type); |
662 | 661 | if (!interfaces.containsKey(interfaceType.getName())) { |
663 | 662 | interfaces.put(interfaceType.getName(), interfaceType); |
664 | 663 | } |
|
0 commit comments