Replies: 1 comment
-
@mattfysh the defer/stream spec proposal is under active development and the mechanics of how it works has changed recently (see graphql/defer-stream-wg#69). I know that @IvanGoncharov has been looking into ways to clean up the code, especially around return values that may or may not be promises. I am not aware of any recent discussions around |
Beta Was this translation helpful? Give feedback.
-
Hi all, thanks for all the recent work on the defer/stream implementation. I've got some ideas I'm excited to prototype!
Looking through the source code now, and I had a few questions coming up that aren't so straightforward to answer from reading the code. Are there any design documents that explain things like "target" and "incremental data record", how they are related & which features they support?
A couple of unrelated other questions
exeContext.incrementalPublisher
is a one-way communication channel. Would there be any benefit in having something in the execution engine that is an event emitter and then the incremental publisher can process the events?..args
spread to reduce verbosity?try { if (promise) { X().catch(Y) } else { X() } } catch(e) { Y() }
@live
directive which could benefit from the incremental publisher?Thanks again 🙌 you guys 🪨
Beta Was this translation helpful? Give feedback.
All reactions