File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 2
2
// The changed lines are 31-40 and 85-87 and the original file can be found here:
3
3
// https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-graphql/src/schema/transformSchema.ts
4
4
5
- import { GraphQLReferenceResolver } from '@apollo/federation /dist/types ' ;
5
+ import '@apollo/subgraph /dist/schemaExtensions ' ;
6
6
import {
7
7
GraphQLFieldConfigArgumentMap ,
8
8
GraphQLFieldConfigMap ,
@@ -27,17 +27,6 @@ import {
27
27
isUnionType ,
28
28
} from 'graphql' ;
29
29
30
- // Definitions taken from here: https://github.com/apollographql/apollo-server/blob/main/packages/apollo-federation/src/types.ts#L62
31
- declare module 'graphql/type/definition' {
32
- interface GraphQLObjectType {
33
- resolveReference ?: GraphQLReferenceResolver < any > ;
34
- }
35
-
36
- interface GraphQLObjectTypeConfig < TSource , TContext > {
37
- resolveReference ?: GraphQLReferenceResolver < TContext > ;
38
- }
39
- }
40
-
41
30
type TypeTransformer = (
42
31
type : GraphQLNamedType ,
43
32
) => GraphQLNamedType | null | undefined ;
You can’t perform that action at this time.
0 commit comments