Closed yaacovCR closed 9 months ago
Name | Link |
---|---|
Latest commit | a966583d8442ab234d44606911c8cdab37c0dc3f |
Latest deploy log | https://app.netlify.com/sites/graphql-spec-draft/deploys/65b8a893b199c20008bfb2cc |
Deploy Preview | https://deploy-preview-1052--graphql-spec-draft.netlify.app/draft |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
extracted out #1054 from this PR to simply a bit
Conceptually, I've restructured it a bit so that the changes can be summarized as follows:
Updated to reflect simplification from https://github.com/graphql/graphql-js/pull/3994
closing in favor of #1077, although that PR still describes only algorithmic changes, and additional work from #742 and this PR would have to be pulled in if the approach is adopted.
Iterating on #1034 and #1026, removed mutation of internal state, event stream management, and the need for subprocedures.
YieldSubsequentPayloads now is passed the entirety of the "state," pending futures, etc, monitors for any changes to pending futures, rebuilds a new "state" representation based on any changes, yields a single result as necessary, and then recursively calls itself to yield remaining results.
[The diff to main might be helpful, but this is built on top of the amazing #742 and so the diff from that branch could be more useful.]