File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ import { isAbstractType } from "graphql/type";
33
33
import { CompilationContext , GLOBAL_VARIABLES_NAME } from "./execution" ;
34
34
import createInspect from "./inspect" ;
35
35
import { getGraphQLErrorOptions , resolveFieldDef } from "./compat" ;
36
- import { memoize4 } from "./memoize" ;
37
36
38
37
export interface JitFieldNode extends FieldNode {
39
38
/**
@@ -627,14 +626,7 @@ function getFieldEntryKey(node: FieldNode): string {
627
626
628
627
export { resolveFieldDef } ;
629
628
630
- /**
631
- * A memoized collection of relevant subfields in the context of the return
632
- * type. Memoizing ensures the subfields are not repeatedly calculated, which
633
- * saves overhead when resolving lists of values.
634
- */
635
- export const collectSubfields = memoize4 ( _collectSubfields ) ;
636
-
637
- function _collectSubfields (
629
+ export function collectSubfields (
638
630
compilationContext : CompilationContext ,
639
631
returnType : GraphQLObjectType ,
640
632
fieldNodes : FieldNode [ ] ,
You can’t perform that action at this time.
0 commit comments