Nullability WG ·

Nullability WG meetings · Jump to notes

Agenda

View agenda on GitHub

Nullability WG — October 2024

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
Alex Reilly@twofIndependentSan Francisco, CA, United States
Martin BonninmartinbonninApolloParis, FR
Calvin CestaricalvincestariApolloVancouver, BC
Stephen SpaldingfotoetienneNetflixLos Gatos, 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. Results of the poll (Alex, 5 min)
  7. Resurect #63 ? (Martin, 2 min)
  8. Next steps and action items (Alex, 15 min)

Notes

View notes on GitHub

Client Controlled Nullability WG - October 2024

Watch the replay: GraphQL Working Group Meetings on YouTube

Attendees

  • Alex
  • Martin
  • Calvin
  • Stephen
  • Benjie

Agenda

  • Results of the poll (Alex, 5 min)
  • Resurrect #63 ? (Martin, 2 min)
  • Next steps and action items (Alex, 15 min)

Results of the poll (Alex, 5 min)

Resurrect #63? (Martin, 2 min)

  • Martin: Opportunity to engage with the community
  • Benjie: I am of the opinion that nullable should remain the default
  • Benjie: I don't think we should re-open this issue specifically, but opening a new issue in the context of the semantic nullability discussions (i.e. semantically non-null by default) would be okay.
  • Stephen: Even if we start a new issue, I agree it’s worth connecting it to this older conversation (#63) since it’s very much in the same spirit

Next steps and action items (Alex, 15 min)

  • Alex: Main WG meeting is next week. Should we bring blog post and PR and try to move forward?
  • Benjie: Would like to see it written up fully? Otherwise, it’s here is the syntax we prefer but it’s not a fully formed solution
  • Alex: I can do both of those
  • Benjie: There is no difference for input in semantic vs strict non null. This may change for something like struct
    • For executable documents, (i.e. variables) we’d still use bang (non-null)/unadorned (nullable)
  • Benjie: Some people have a bunch of .graphql files and concatenate them. If we were able to add document level directives, we couldn’t do that anymore
    • https://astexplorer.net/
    • ^ You effectively just build a new AST that smooshes together the definitions for each file.
    • Shame I can't share an example... But type Query { a: Int } with the GraphQL language
  • Alex: is this common?
  • Stephen: Many (most) GraphQL servers at Netflix have multi-file schemas. Each file is not valid on its own, but they all parse on their own. So as long as we can still parse each file individually it should be fine.

Tracked RFCs