When I initialize my Apollo client, I make an Apollo Link with the header hello: "world"
. Is there a way to override the hello
header value from a component using hooks? I thought this would work but it still uses the Client header:
useQuery(<QUERY>,{
context:{
headers:{
hello: "Canada"
}
}
})