Skip to content

Commit

Permalink
Update exchanges/graphcache/src/operations/query.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Pluckthun <phil@kitten.sh>
  • Loading branch information
JoviDeCroock and kitten authored Jul 19, 2023
1 parent e70e5d8 commit b559c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/graphcache/src/operations/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ const readSelection = (
const fieldDirective = node._directives![storeDirective];
const directiveArguments =
getFieldArguments(fieldDirective, ctx.variables) || {};
dataFieldValue = store.directives[storeDirective]!(
dataFieldValue = store.directives[storeDirective]!(directiveArguments)(
output,
fieldArgs || ({} as Variables),
store,
{ ...ctx, directiveArguments }
ctx
);
}

Expand Down

0 comments on commit b559c9d

Please sign in to comment.