Closed dOrgJelli closed 4 years ago
This is not what we should do. @client
is entirely specific to Apollo and its withClientState
. See this comment for what we (most likely) should do instead: https://github.com/graphprotocol/mutations/pull/1#issuecomment-585727131
Instead of making the user add
@client
as a directive to their mutation queries, we should add it for them if we know we're using alocaResolverExecutor
. I think we should add the@client
directive like so:mutationExecutors/localResolver.ts