Hi, now that Defer & Stream are becomming a part og graphql.js (https://github.com/graphql/graphql-js/pull/2319)(given still an experimental branch) what's the process for integrating it into apollo server / client?
Looking forward to this one! I'm seeing it on GQL libs for Java, Scala and Ruby now too.
This solves one of my biggest gripes with GQL - your response performance is limited to the performance characteristics of the slowest resolver dependency unless you issue multiple queries which really limits the ability of GQL to serve as a near perfect abstraction over legacy APIs etc.
we now have a reference server implementation for the first transport spec for @defer and @stream IncrementalDelivery
it will involve handling partial responses, which is not going to be easy with the way apollo-server-core is decoupled from output, which worked fine up until now because responses weren't iterative.
the express-grapql PR makes it look easy because of how tightly we're coupled to express
you'd think we could follow a similar pattern to multipart upload, however IncrementalDelivery specifies a request protocol, not a response protocol
your response performance is limited to the performance characteristics of the slowest resolver dependency unless you issue multiple queries which really limits the ability of GQL to serve as a near perfect abstraction over legacy APIs etc.
this, so much! hoping for such wide adoption this year, that graphql developers will be taking this feature for granted in ~2-3 years 馃槅
seems that @abernix has an effort afoot to rearchitect for this feature and others, as well as provide more flexibility! very neat