Skip to content

Commit c36defb

Browse files
committed
fix(delegate): fix ESM import
1 parent 803db66 commit c36defb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphql-tools/delegate': patch
3+
---
4+
5+
fix(delegate): fix ESM import

packages/delegate/src/mergeFields.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
import { ExternalObject, MergedTypeInfo, SubschemaConfig } from './types';
1616
import { memoize4, memoize3, memoize2 } from './memoize';
1717
import { Subschema } from './Subschema';
18-
import { collectFields, ExecutionContext } from 'graphql/execution/execute';
18+
import { collectFields, ExecutionContext } from 'graphql/execution/execute.js';
1919
import { relocatedError } from '@graphql-tools/utils';
2020
import { FIELD_SUBSCHEMA_MAP_SYMBOL, OBJECT_SUBSCHEMA_SYMBOL, UNPATHED_ERRORS_SYMBOL } from './symbols';
2121

0 commit comments

Comments
 (0)