Nullability WG ·

Nullability WG meetings · Jump to notes

Agenda

View agenda on GitHub

Nullability WG — January 2025

The Nullability WG (Working Group) is a subcommittee of the GraphQL Spec WG tasked with improving the experience around nullability in GraphQL. It was previously known as the Client Controlled Nullability WG, but now includes server-side solutions within its scope also.

This is an open meeting in which anyone in the GraphQL community may attend. We typically meet on the last Wednesday

Attendees

NameGitHubOrganizationLocation
Martin BonninmartinbonninApolloParis, FR
Calvin Cestari@calvincestariApolloVancouver, BC
Alex Reilly@twofDoorDashSan Francisco, CA, US
Benjie Gillam@benjieGraphileChandler's Ford, UK

Agenda

  1. Agree to Membership Agreement, Participation & Contribution Guidelines and Code of Conduct (1m, Host)
  2. Introduction of attendees (5m, Host)
  3. Determine volunteers for note taking (1m, Host)
  4. Review agenda (2m, Host)
  5. Review previous meeting's action items (5m, Host)
  6. "No Bubles Please" directive naming
  7. Implementation handoff (15m, Alex)

Notes

View notes on GitHub

Client Controlled Nullability WG - January 2025

Watch the replay: GraphQL Working Group Meetings on YouTube

Attendees

  • Alex
  • Martin
  • Calvin
  • Benjie
  • Stephen

Agenda

  • @noBubblesPlease
  • Implementation handoff

@noBubblesPlease

  • Current list of candidates in today agenda.
    • GraphQL Java PR feedback:
      • Not keen on names with parameters
      • Too generic
    • @noNullPropagation is slightly wrong. We propagate the error, not the null
    • Maybe @noErrorPropagation
      • Propagation is hard to spell
      • It’s pretty technical and long
      • Closes the enum route but we can add more directives in the future
    • Stephen: @nullOnError is short and descriptive.
    • Concern about choice and needing to take into consideration mobile clients that live a long time in production (eg. at Netflix 10 year timeline).
    • Benjie: not particularly keen on @nullOnError because it’s already what’s happening.
    • Calvin: @noErrorPropagation is double negative.
    • Benjie: @softErrors/@localErrors is also a good candidate.
    • Benjie: the boundary is a “position”, not a selection set.
    • @localErrors ?
    • Stephen: @allowNull
    • Benjie: @holistic/@semanticErrors
    • @allowNull is not very descriptive
    • Calvin: @allowNullWithErrors (possibly too nuanced)

Implementation Handoff

  • https://github.com/graphql/graphql-js/pull/4271
  • https://github.com/graphql/graphql.github.io/pull/1775
  • Alex: implementation of semantic non null for graphql-js is started, not finished.
  • There are tests
  • 90% there. It needs to be taken through the finish line
  • Alex: problem about the printer. It is not described in the spec but needs to continue working. A decision has to be made what we are going to use there.
  • Alex to continue being the champion and hosting the meetings.
  • Benjie: might be worth taking it to the graphql-js working group.
  • Is @semanticNonNull still a wrapper under the hood?