Open dennemark opened 12 hours ago
Is your server running on graphql
17 alpha 2?
We currently only support that one version of @defer
until the spec has been finalized - otherwise we would have to ship a lot of different versions of HttpLink.
Thanks for the fast reply! I do think it is currently version 16.9.1. Since I am using it within redwood framework, I am going to contact them! This should lead in the right direction!
Cross posting here: https://community.redwoodjs.com/t/graphql-defer-directive/7639/2
Going to let you know, if this helped.
Issue Description
Hi, I am trying to do a deferred query but apollo client does not interpret response as multipart, but json.
Link to Reproduction
see below
Reproduction Steps
Service:
Endpoint
Query:
I get the following response:
Now apollo/client throws an error, because it wants to have a json instead of multipart:
I think it happens around here: https://github.com/apollographql/apollo-client/blob/77b89318040748b3ffad97938eccacd8b1fbb4bd/src/link/batch-http/batchHttpLink.ts#L182
@apollo/client
version3.11.1