Skip to content

Commit 49450d8

Browse files
authored
Revert "deprecate (internal) buildResolveInfo in favor of (internal) ResolveInfo class (#4552)" (#4555)
See #4553, the lazy ResolveInfo class would break users who wrap resolvers by spreading the `info` argument.
1 parent 4149722 commit 49450d8

File tree

4 files changed

+0
-209
lines changed

4 files changed

+0
-209
lines changed

src/execution/ResolveInfo.ts

Lines changed: 0 additions & 107 deletions
This file was deleted.

src/execution/__tests__/ResolveInfo-test.ts

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/execution/execute.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,6 @@ function executeField(
609609
}
610610

611611
/**
612-
* @deprecated will be removed in v17, use ResolveInfo class instead
613612
* @internal
614613
*/
615614
export function buildResolveInfo(

src/execution/subscribe.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
// eslint-disable-next-line import/no-deprecated
2323
assertValidExecutionArguments,
2424
buildExecutionContext,
25-
// eslint-disable-next-line import/no-deprecated
2625
buildResolveInfo,
2726
execute,
2827
getFieldDef,
@@ -229,7 +228,6 @@ async function executeSubscription(
229228
}
230229

231230
const path = addPath(undefined, responseName, rootType.name);
232-
// eslint-disable-next-line import/no-deprecated
233231
const info = buildResolveInfo(
234232
exeContext,
235233
fieldDef,

0 commit comments

Comments
 (0)