-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
Description
@apollo/client
supports @defer
directive since version 3.7.0:
https://www.apollographql.com/docs/react/data/defer/
But I'm not able to use this library with @defer
. It throws a JSON parsing error on this line. Are there plans to support it?
Since this library already calls parseAndCheckHttpResponse
from @apollo/client
, I think it can be easily fixed by doing it conditionally like in createHttpLink.ts - @apollo/client
exports readMultipartBody
function which it uses for multipart/mixed responses.
doigo and giulio-opal