There was an error while loading. Please reload this page.
1 parent 7c55747 commit 7553d76Copy full SHA for 7553d76
1 file changed
src/main/java/graphql/schema/SchemaTransformer.java
@@ -5,6 +5,7 @@
5
import graphql.PublicApi;
6
import graphql.collect.ImmutableKit;
7
import graphql.introspection.Introspection;
8
+import graphql.schema.idl.ScalarInfo;
9
import graphql.util.Breadcrumb;
10
import graphql.util.NodeAdapter;
11
import graphql.util.NodeLocation;
@@ -650,7 +651,7 @@ private static class DummyRoot implements GraphQLSchemaElement {
650
651
if (additionalTypes.contains(typeMap.get(typeName))) {
652
continue;
653
}
- if (typeMap.get(typeName) instanceof GraphQLScalarType) {
654
+ if (ScalarInfo.isGraphqlSpecifiedScalar(typeName)) {
655
656
657
extraTypes.add(typeMap.get(typeName));
0 commit comments