GraphQL WG ·
GraphQL WG meetings · Jump to notesAgenda
GraphQL WG — December 2024 (Primary)
The GraphQL Working Group meets regularly to discuss changes to the GraphQL Specification and other core GraphQL projects. This is an open meeting in which anyone in the GraphQL community may attend.
This is the primary monthly meeting, which typically meets on the first Thursday of the month. In the case we have additional agenda items or follow ups, we also hold additional secondary meetings later in the month.
- Date & Time: December 5, 2024, 10:30 AM – 12:00 PM PST
- View the calendar, or subscribe (Google Calendar, ical file).
- Please Note: The date or time may change. Please check this agenda the week of the meeting to confirm. While we try to keep all calendars accurate, this agenda document is the source of truth.
- Video Conference Link: https://zoom.us/j/593263740
- Password: graphqlwg
- Live Notes: Live Notes
Attendees
| Name | GitHub | Organization | Location |
|---|---|---|---|
| Lee Byron (Host) | @leebyron | GraphQL Foundation | San Francisco, CA, US |
| Martin Bonnin | @martinbonnin | Apollo | Paris, FR |
| Benjie Gillam | @benjie | Graphile | Chandler's Ford, UK |
| Matt Mahoney | @mjmahone | Meta | New York, NY, US |
| Jovi De Croock | @jovidecroock | Independent | Aalst, BE |
| Rob Richard | @robrichard | 1stDibs | New Jersey, US |
| Lenz Weber-Tronic | @phryneas | Apollo | Wuerzburg, DE |
| Yaacov Rydzinski | @yaacovCR | Individual | Neve Daniel, IL |
| Benoit Lubek | @BoD | Apollo | Lyon, FR |
| Uri Goldshtein | @urigo | The Guild | Tel Aviv, IL |
| Jeff Auriemma | @bignimbus | Apollo | Monroe, CT, US |
| Stephen Spalding | @fotoetienne | Netflix | Los Gatos, CA, US |
Agenda
- Agree to Membership Agreement, Participation & Contribution Guidelines and Code of Conduct (1m, Host)
- Introduction of attendees (5m, Host)
- Determine volunteers for note taking (1m, Host)
- Review agenda (2m, Host)
- Check for ready for review agenda items (5m, Host)
- Move January meeting to Jan 9? (1m, Benjie)
- TSC membership vote - open for nominations (2m, Host)
- Add 'extensions' to request (2m, Benjie)
- RFC - promote to RFC 2? (Does it actually need any code changes?)
- Make
deprecated.reasonnon-null (5m, Martin)- spec edits: https://github.com/graphql/graphql-spec/pull/1040
- graphql-js pull request: https://github.com/graphql/graphql-js/pull/4299#pullrequestreview-2455415595
- Add a validation rule that operation types exist (5m, Benjie)
- RFC - promote to RFC 2?
- Change 'original' to 'previous' to clarify multiple extensions (5m, Benjie)
- RFC - editorial; merge?
- GraphQL-JS maintenance (10m, Jovi)
- What are our expectations of GraphQL.JS (frequency of publishing, docs, ...)
- Who has access to Netlify and how can we disconnect it
- Can we move the domain so it points at Vercel
- When do we want v17
- Should we start EOL'ing releases
- Implementations may not deprecate a field that the interface hasn't deprecated (10m, Benjie)
- RFC - promote to RFC2?
@defer/@streamupdates (10m, Rob)- LLM-matched RFC: graphql/graphql-spec#1110
- Editorial: move "Path" to it's own section https://github.com/graphql/graphql-spec/pull/1129
- Please continue reviewing https://github.com/graphql/graphql-spec/pull/1124
- Merge Lee's Editorial changes for Event Streams? (10m, Benjie)
- When
sourceStreamerrors, yield a{ errors: [...] }response (5m, Benjie)- RFC - promote to RFC 1?
- Fix CoerceArgumentValues()' hasValue (15m, Benjie)
- RFC - promote to RFC2? Merge as an editorial fix?
- Be explicit about list coercion (15m, Benjie)
- RFC - promote to RFC2? Merge as an editorial fix?
- Interface field argument default values (@yaacovCR, 30m)
Notes
GraphQL WG Notes - December 2024
Watch the replays: GraphQL Working Group Meetings on YouTube
Agenda: https://github.com/graphql/graphql-wg/blob/main/agendas/2024/12-Dec/05-wg-primary.md
- Agree to Membership Agreement, Participation & Contribution Guidelines and Code of Conduct (1m, Host)
- Introduction of attendees (5m, Host)
- Determine volunteers for note taking (1m, Host)
- Review agenda (2m, Host)
- Check for ready for review agenda items (5m, Host)
- Move January meeting to Jan 9?
(1m, Benjie)
- Group agreed
- TSC membership vote - open for nominations (2m, Host)
- Election process
- Anyone can self-nominate or nominate others
- Lee to open the nomination form and share out
- Andy, Kewei, Rob, Stephen, Uri’s terms are set to end (re-nomination is of course open to them)
- Add 'extensions' to request (2m, Benjie)
- RFC - promote to RFC 2? (Does it actually need any code changes?)
- Benjie: Not really meaningful to spec - reserve space for tools/vendors to extend
- Adds a challenge RE: various transports - defining it over and over again
- Proposing (a) advance to RFC2 (b) acknowledge no code changes needed
- Lee: seems like a slam-dunk change
- Make
deprecated.reasonnon-null (5m, Martin)- spec edits: graphql/graphql-spec#1040
- graphql-js pull request: graphql/graphql-js#4299 (review)
- Martin: Did a PR to graphql-js
- That’s all I have
- Lee: repeating back, it sounds like since we’re saying that because
reasonhas a default value, we should disallow the ability to usenull-literal as a value, which is technically possible ifreasonis nullable - Matt: not possible to send a request with deprecated from clients, yes?
- Lee: should only impact tooling
- Lee: approved and merging - awaiting graphql-js maintainers
- Add a validation rule that operation types exist (5m, Benjie)
- RFC - promote to RFC 2?
- Proposal to add a new validation rule - does an operation type exist
- Lee: agreed, suggests moving to “accepted”
- Lee: will do offline review, want to accept and merge
- Change 'original' to 'previous' to clarify multiple extensions (5m, Benjie)
- RFC - editorial; merge?
- Benjie: When extending types, we use the term “original” but we allow for
multiple extensions. This can be confusing.
- This allows for something invalid:
- union MyUnion = Foo
- extend union MyUnion = Bar | Baz
- extend union MyUnion = Bar | Qux
- This allows for something invalid:
- Let’s wait 2 weeks and then we can merge
- GraphQL-JS maintenance (10m, Jovi)
- Who has access to Netlify and how can we disconnect it
- Nobody knows on the call
- Maybe Ivan?
- Uri says he might have access 🎉
- What are our expectations of GraphQL.JS (frequency of publishing, docs,
...)
- We’ve never declared LTS/EOL stuff
- In practice, we’ve generally put our energy into new versions
- Have we backported releases to prior majors?
- Yes, recently with introspection fix
- Lee: open to any reasonable proposal here
- Matt: one bare minimum is when we switched from Flow to TS
- Lenz: adding some concern to that - GraphQL versions can tend to take a long time - maybe majors released in the last two years - plenty of time to migrate over - could also be another time frame
- Gives people some security
- Jovi: for clarity, in our case, v16 would be immediately dropped
- Lee: something like adding a time window
- When do we want v17
- Jovi: Several specs ongoing
- Rob: defer/stream in v17 - not exposed by regular execution function
- If we were to release v17, we would not open up defer/stream - still experimental in that release
- Yaacov: to clarify that post - where do we need to be in terms of our approval process to defer/stream to release v17?
- Implicit in your answer, Rob, is that we could be anywhere
- Let’s say we were ready after the holidays, could we move then?
- Rob: I was more hesitant when we were more actively iterating in the past year
- It’s still being behind the experimental function - giving ourselves the opportunity to change things if needed
- Jeff: asked about the ability to keep w/ a previous incremental transport protocol with adopting v17
- Lenz: multiple flags might add bundle size, etc
- Rob: might be hard to incentivize adopting if folks feel like they have something working already
- Benjie: we can continue this discussion for sure - backports to v16 will be there for a while, nothing urgent
- From chat via Yaacov: 4. is there a way to preserve both the old format
and the current format of defer/stream? yes, technically, for sure 5.
https://github.com/ardatan/graphql-tools/pull/6243 this PR allows
toggles for the old spec format and the new format 6. (it's a PR to a
fork of the executor maintained by the guild) 7. see this comment: 8.
ts 9. const result = await execute({ 10. ..., 11. incrementalPreset: 'v17.0.0-alpha.2', 12. }); 13.14. https://github.com/ardatan/graphql-tools/pull/6243#discussion_r1704241110 - Lenz: 15. The problem is that we either have to ship many different versions of HttpLink, which is very confusing for users, or one version that grows bigger and bigger that cannot treeshake. 16. I'm less concerned on the server side than on the client side
- Should we start EOL'ing releases
- Who has access to Netlify and how can we disconnect it
- Implementations may not deprecate a field that the interface hasn't
deprecated (10m, Benjie)
- RFC - promote to RFC2?
- Lee to give inline feedback
@defer/@streamupdates (10m, Rob)- Editorial: move "Path" to it's own
section graphql/graphql-spec#1129<span style="text-decoration:underline;">
</span>
- Helps us reference that area in defer/stream down the line
- Please continue reviewing graphql/graphql-spec#1124<span style="text-decoration:underline;"> </span>
- Rob: Current stage is RFC1, a prior design was in RFC2
- Benjie: RFC2 is “preferred solution” and the current spec edits get us closer to that
- Lee: generally in support of calling this RFC2 - pretty confident this is the right path
- Editorial: move "Path" to it's own
section graphql/graphql-spec#1129<span style="text-decoration:underline;">
</span>
- Merge
Lee's Editorial changes for Event Streams?
(10m, Benjie)
- Benjie: recap
- When
sourceStreamerrors, yield a{ errors: [...] }response (5m, Benjie)- RFC - promote to RFC 1?
- Lenz: may impact current behavior for clients initiating restarts (longer conversation, refer to recording as I did not annotate the conversation)
- Fix CoerceArgumentValues()' hasValue (15m, Benjie)
- RFC - promote to RFC2? Merge as an editorial fix?
- Be explicit about list coercion (15m, Benjie)
- RFC - promote to RFC2? Merge as an editorial fix?
- Lee to review
- Interface field argument default values (@yaacovCR, 30m)
- Spec bug? graphql/graphql-spec#1121
- (Yaacov talks through the PR)
- Essentially: the identified gap may lead to runtime errors in ways that may betray the intent of the schema author
- Benjie: (talks through their comment on the PR): essentially adding a default in a way that is non-breaking for clients, but with a recommendation of a stricter implementation that may require client-side changes RE: defaults
- No bar for RFC0 so we can deem it so, RFC1 would entail spec wording adjustments