Passing context data through mutation
April 21, 2020 at 10:06pmPassing context data through mutation
April 21, 2020 at 10:06pmI'm using apollo-link-rest. Is there a way I can pass data through the mutation? So I have some context data when I call the mutation, and I want to access it in the onCompleted handler?
April 21, 2020 at 10:11pm
Unfortunately, I call the mutate function in a different context and want access to the variables from that context, not the one in which
useMutation
is called.Any ideas?
April 23, 2020 at 10:37pm