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 e232cd0 commit 73ebdfeCopy full SHA for 73ebdfe
lib/utils/transform-schema.util.ts
@@ -2,7 +2,6 @@
2
// The changed lines are 31-40 and 85-87 and the original file can be found here:
3
// https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-graphql/src/schema/transformSchema.ts
4
5
-import '@apollo/subgraph/dist/schemaExtensions';
6
import {
7
GraphQLFieldConfigArgumentMap,
8
GraphQLFieldConfigMap,
@@ -27,6 +26,16 @@ import {
27
26
isUnionType,
28
} from 'graphql';
29
+declare module 'graphql/type/definition' {
30
+ interface GraphQLObjectType {
31
+ resolveReference?: any;
32
+ }
33
+
34
+ interface GraphQLObjectTypeConfig<TSource, TContext> {
35
36
37
+}
38
39
type TypeTransformer = (
40
type: GraphQLNamedType,
41
) => GraphQLNamedType | null | undefined;
0 commit comments