Skip to content

Conversation

@robrichard
Copy link
Contributor

Spec draft of @defer based on the response format in graphql/defer-stream-wg#69, with no duplication of fields. @stream will be added soon.

Please keep discussion limited to specifics on how the spec text is written. There is a dedicated discussion forum for questions, feedback, and comments on defer & stream: https://github.com/graphql/defer-stream-wg/discussions

@netlify
Copy link

netlify bot commented Sep 18, 2024

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit 8e9cbcb
🔍 Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/677ffe110e1f4b0008367ced
😎 Deploy Preview https://deploy-preview-1110--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.

@owen-zora
Copy link

Hi @robrichard , do you have any expected timeline for this feature? We are really excited to have this feature for our product!

@benjie benjie added 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md) 💡 Proposal (RFC 1) RFC Stage 1 (See CONTRIBUTING.md) and removed 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md) labels Oct 15, 2024
@benjie
Copy link
Member

benjie commented Jun 12, 2025

The previous spec edits reached RFC2, should this also be RFC2?

"incremental": [
{
"id": "1",
"data": { "lastName": "Skywalker" }]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"data": { "lastName": "Skywalker" }]
"data": { "lastName": "Skywalker" }


- If {serial} is not provided, initialize it to {false}.
- Let {groupedFieldSet} and {newDeferUsages} be the result of
{CollectFields(objectType, selectionSet, variableValues)}.
Copy link
Member

@michaelstaib michaelstaib Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new CollectFields requires a deferUsage argument ... this should be null for the initial call to CollectFields.

Suggested change
{CollectFields(objectType, selectionSet, variableValues)}.
{CollectFields(objectType, selectionSet, null, variableValues)}.

Also in this case its not clear while reading what null actually is for so maybe it should be declared first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 Proposal (RFC 1) RFC Stage 1 (See CONTRIBUTING.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants