Skip to content

Conversation

calvincestari
Copy link
Member

Getting something documented that we can always refer back to.

  • Copy of the incremental delivery RFC, as of September 2024
  • HTTP request headers (TBD)

@calvincestari calvincestari requested a review from a team as a code owner October 2, 2025 00:21
@calvincestari calvincestari marked this pull request as draft October 2, 2025 00:21
Copy link
Contributor

@martinbonnin martinbonnin left a comment

Choose a reason for hiding this comment

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

Very cool! Small preference for just incremental instead of incrementalDelivery for brevity but very cool to have this versioned 🚀

@calvincestari
Copy link
Member Author

calvincestari commented Oct 15, 2025

Small preference for just incremental instead of incrementalDelivery for brevity ..

Also going back to @martinbonnin's comment above - any preference amongst others too?

@jerelmiller
Copy link
Member

@calvincestari @martinbonnin just to make sure I understand, is the incremental vs incrementalDelivery for the name of the spec itself or the header value?

I'm indifferent if you're referring to the spec name, so pick your favorite.

My only preference on the header value is incremental, but only for the reason that I already committed code in Apollo Client/Server using that value 😂 (happy to change it though if that changes as a part of this ask).

@calvincestari
Copy link
Member Author

I was referring to both, or either. Shorter is maybe better?

@BoD
Copy link
Contributor

BoD commented Oct 15, 2025

incremental is 👍 for me

@martinbonnin
Copy link
Contributor

+1 for short parameter

Accept: multipart/mixed;incremental=graphql/incremental/v0.1

@calvincestari
Copy link
Member Author

OK, I've shortened all the things related to incremental vs. "incremental delivery"; header value, filenames, etc. I think this is now ready for formal review and then merging.

@calvincestari calvincestari marked this pull request as ready for review October 15, 2025 21:03
Copy link
Contributor

@martinbonnin martinbonnin left a comment

Choose a reason for hiding this comment

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

Might be worth adding an entry in index.md for better discoverability.

But otherwise very good resource to have around 🤩 , thanks!

Copy link
Member

@jerelmiller jerelmiller left a comment

Choose a reason for hiding this comment

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

Looks great! I'll get the PRs I have open updated 🙂. Thanks!

@calvincestari
Copy link
Member Author

Might be worth adding an entry in index.md for better discoverability.

I've got it in __index__.md but I'm now learning there is index.mx too. 🤦🏻
I'll get it updated there too.

@calvincestari
Copy link
Member Author

I'll get it updated there too.

Done in 33b4062.

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

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

🎉

@BoD
Copy link
Contributor

BoD commented Oct 16, 2025

What do y'all think about also adding a v0.0 pointing to a copy of the old spec (the 20220824 one)?

@phryneas
Copy link
Member

Or might it be an option to specify this as 0.3, not 0.1? I believe there was another variant implemented between alpha.2 and alpha.9. It might be a good nod at "there was more, we're only documenting this one".

@jerelmiller
Copy link
Member

@BoD I was wondering the same thing! I'd appreciate that as well.

@phryneas I'd rather have the versions reflect only the specs we've implemented. Even if graphql.js has had 3 versions, let's keep the versions either v0.0 and v0.1 or even v0.1 for the legacy format and v0.2 for the newer format. No need to add a version for a format we don't implement on our end. I'm impartial to which two version numbers we choose.

@calvincestari
Copy link
Member Author

Sure, I can try add the implemented legacy spec as v0.1 and the latest spec as v0.2. I agree that we probably don't want to archive any interim 'versions' that Apollo did not implement.

@calvincestari
Copy link
Member Author

calvincestari commented Oct 16, 2025

I don't think we have the same information across both versions:

tl;dr - we're missing opposite pieces of information for each version.

@BoD
Copy link
Contributor

BoD commented Oct 17, 2025

@calvincestari Maybe for the legacy one we could also use the RFC, but the previous commit, which as far as I can tell corresponds to the format we implemented?

@jerelmiller
Copy link
Member

@BoD that commit definitely looks like the old format so I think you're correct.

@calvincestari
Copy link
Member Author

calvincestari commented Oct 17, 2025

v0.1 is now added. I think it could all do with another quick review before merging, just to double-check I've used the right version numbers in the right places.

Copy link
Member

@jerelmiller jerelmiller left a comment

Choose a reason for hiding this comment

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

Looks great! Appreciate you handling this!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants