@@ -189,7 +189,6 @@ function collectFieldsImpl(
189189 selection ,
190190 variableValues ,
191191 fragmentVariableValues ,
192- hideSuggestions ,
193192 )
194193 ) {
195194 continue ;
@@ -208,7 +207,6 @@ function collectFieldsImpl(
208207 selection ,
209208 variableValues ,
210209 fragmentVariableValues ,
211- hideSuggestions ,
212210 ) ||
213211 ! doesFragmentConditionMatch ( schema , selection , runtimeType )
214212 ) {
@@ -255,7 +253,6 @@ function collectFieldsImpl(
255253 selection ,
256254 variableValues ,
257255 fragmentVariableValues ,
258- hideSuggestions ,
259256 )
260257 ) {
261258 continue ;
@@ -356,7 +353,6 @@ function shouldIncludeNode(
356353 node : FragmentSpreadNode | FieldNode | InlineFragmentNode ,
357354 variableValues : VariableValues ,
358355 fragmentVariableValues : VariableValues | undefined ,
359- hideSuggestions : Maybe < boolean > ,
360356) : boolean {
361357 const skipDirectiveNode = node . directives ?. find (
362358 ( directive ) => directive . name . value === GraphQLSkipDirective . name ,
@@ -371,7 +367,7 @@ function shouldIncludeNode(
371367 GraphQLSkipDirective . args ,
372368 variableValues ,
373369 fragmentVariableValues ,
374- hideSuggestions ,
370+ context . hideSuggestions ,
375371 )
376372 : undefined ;
377373 if ( skip ?. if === true ) {
@@ -391,7 +387,7 @@ function shouldIncludeNode(
391387 GraphQLIncludeDirective . args ,
392388 variableValues ,
393389 fragmentVariableValues ,
394- hideSuggestions ,
390+ context . hideSuggestions ,
395391 )
396392 : undefined ;
397393 if ( include ?. if === false ) {
0 commit comments