graphql / graphql-spec

GraphQL is a query language and execution engine tied to any backend service.
https://spec.graphql.org
14.29k stars 1.12k forks source link

incremental: maintain defer fragment ordering #1072

Closed yaacovCR closed 8 months ago

yaacovCR commented 9 months ago

depends on #1052

Maintains ordering of defers from operation, only sending a child deferred fragment after the parent is sent. By contrast, #1052 will send a deferred fragment once it can be merged into the final reconcilable object.

since it depends on #1052, this is probably the more instructive diff: https://github.com/yaacovCR/graphql-spec/compare/deduplicate3...deduplicate5

netlify[bot] commented 9 months ago

Deploy Preview for graphql-spec-draft ready!

Name Link
Latest commit de55596c298ad3b819ca2fdaaf20ad2fc6547b89
Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/659a8cd8fcd68700084a47f7
Deploy Preview https://deploy-preview-1072--graphql-spec-draft.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

yaacovCR commented 8 months ago

pulling this into #1052 based on feedback at https://github.com/graphql/defer-stream-wg/discussions/80