RFC 3 / Accepted

Schema Coordinates

Opened on
Merged on

At a glance

Project
GraphQL Spec
Identifier
#794
Stage
RFC 3 / Accepted
Champion
@magicmark
Updated
2025-09-01
Latest activity
Pull request merged on
Source

Pull request description

👋

I've pulled out the proposed spec edits for Schema Coordinates (issue: https://github.com/graphql/graphql-spec/issues/735) into this PR.

(The RFC now lives in the original PR: https://github.com/graphql/graphql-spec/pull/746/files)

@leebyron you mentioned it might be possible to simplify the grammar - I played around a bit since the original PR, but I think I need some help here. What did you have in mind?

As suggested, tagging @eapache @mjmahone as additional reviewers as we had some good conversation in last WG meeting about this.

Thanks!


GraphQL.js PR: https://github.com/graphql/graphql-js/pull/3044

Timeline

September 2025

August 2025

  • Discussed in GraphQL WG

    Benjie and Mark discussed the implementation status of schema coordinates for the GraphQL spec, with Mark having submitted PRs that Benjie plans to merge into Lee's original pull request before an upcoming conference. They explored standardization needs for persisted queries, particularly focusing on query name uniqueness in mono-repos and potential namespacing approaches to ensure uniqueness across applications. The conversation also covered document identification in GraphQL, debating solutions like aliasing and the implications of having the same document exist in different clients with the same hash.

    Zoom summary · GraphQL WG · 2025-08-21
    Next Steps

    Benjie to review the schema coordinates spec change carefully before GraphQL Kickoff.

    Zoom summary · GraphQL WG · 2025-08-21
    Next Steps

    Mark to open a new pull request for the schema coordinates implementation directly to the next branch in GraphQLjs.

    Zoom summary · GraphQL WG · 2025-08-21
    Next Steps

    Mark to comment on Lee's pull request about the new implementation with an independent lexer.

    Zoom summary · GraphQL WG · 2025-08-21
    GraphQL Schema Coordinates Implementation Status

    Benjie and Mark discuss the status of schema coordinates implementation for the GraphQL spec. Mark has submitted PRs for both the spec change and a JavaScript implementation with an independent lexer, but they haven't been reviewed yet. The implementation avoids including unnecessary elements like whitespace and comments while maintaining position tracking for error messages. Benjie decides to merge Mark's changes into Lee's original pull request and will review the spec changes before the upcoming GraphQL conference.

    Zoom summary · GraphQL WG · 2025-08-21
  • 2 commits pushed on
  • Discussed in GraphQL WG
    Next Steps

    Mark: Implement the "dots get schema coordinate method" or "dot coordinate" attribute on object nodes as a follow-up to the schema coordinates PR.

    Zoom summary · GraphQL WG · 2025-08-07

    The meeting began with Pascal discussing the timing of a release, noting that releasing on a Thursday allows for assessment of issues by Monday. Mark mentioned the development of "Apollo GraphQL Intelligence," which Pascal praised as a clever branding move. The group then focused on schema coordinates, with Mark explaining recent changes to reduce the scope and simplify the implementation. Michael inquired about nullability, and Martin suggested that "capabilities" could be the new "nullability." The conversation ended with Michael taking over as host, introducing himself and the other participants, and outlining the agenda items for the meeting.

    Zoom summary · GraphQL WG · 2025-08-07
    Schema Coordinates Implementation Changes

    The team discussed changes to the schema coordinates implementation, where Lee suggested reducing scope by defining schema coordinates with its own grammar and separate parser class. Mark confirmed these changes were accepted and relatively minor, though there was some bikeshedding about using full stops instead of hashtags. The team also noted that while the parser implementation had some overlap with the main GraphQL parser, it was decided to keep it integrated rather than creating a completely separate parser, as this would maintain consistency with the existing implementation and avoid potential syntax conflicts.

    Zoom summary · GraphQL WG · 2025-08-07

    The team discussed the status of the July spec cut, which is complete and in the polishing phase with Benjie and Lee working on editorial changes. They clarified that schema coordinates are not part of the current stack, and the TSC has 45 days for validation after the release candidate. Michael expressed a preference for doing one spec cut per year, focusing on technical improvements rather than new features. The conversation concluded with a lighthearted discussion about swimming in Amsterdam's canals, with Pascal warning about the potential dangers of open water swimming.

    Zoom summary · GraphQL WG · 2025-08-07

July 2025

  • Discussed in GraphQL WG

    The GraphQL Working Group meeting covered several key topics, including editorial changes to error propagation, fragment memoization, and service capabilities syntax. Discussions focused on improving schema coordinates, refining error handling mechanisms, and implementing a new system for representing service capabilities. The team debated various approaches to these issues, considering factors such as implementation complexity, backward compatibility, and potential future extensions.

    Zoom summary · GraphQL WG · 2025-07-17
    Next Steps

    Lee: Draft spec changes for schema coordinates to define it as its own grammar with its own set of tokens

    Zoom summary · GraphQL WG · 2025-07-17
    Next Steps

    Mark: Implement schema coordinates changes in GraphQL.js with a separate lexer implementation

    Zoom summary · GraphQL WG · 2025-07-17

    The GraphQL Working Group meeting began with a round of introductions and a technical check of microphones and audio. Lee Byron announced the agenda, which included editorial changes on error propagation, removing fragment spread names from visited fragments, service capabilities syntax, and schema coordinates. The group agreed to prioritize schema coordinates due to their tight scope. Mark and Martin were set to lead discussions on their respective topics, but the transcript ended before they could begin.

    Zoom summary · GraphQL WG · 2025-07-17

    GraphQL Schema Coordinate Grammar Changes

    The team discussed removing whitespace from schema coordinates to ensure uniqueness, with Mark proposing changes to GraphQL.js and the spec. Leebyron suggested creating a separate grammar for schema coordinates, which would simplify implementation and reduce the risk of conflicts with other GraphQL features. The group agreed this approach would be cleaner and more maintainable, though it might delay the schema coordinate feature's inclusion in the spec cut release. Mark, who is currently on vacation, will review the proposed changes when he returns.

    Zoom summary · GraphQL WG · 2025-07-17
  • 4 commits pushed on
  • 5 commits pushed on
  • Advanced to RFC 3 on by leebyron
  • Discussed in GraphQL WG

    The GraphQL Working Group meeting focused on reviewing recent specification updates and editorial changes, including discussions about request errors, operation execution, and meta fields implementation. The team evaluated various RFC proposals related to coercion algorithms, schema coordinates, and the handling of meta fields in GraphQL.js, with several members providing feedback on potential improvements and clarifications. The conversation ended with discussions about the implementation of experimental features like executeIncrementally and the handling of asynchronous iterators, with the team agreeing to maintain a general specification while allowing for implementation-specific details in GraphQL.js.

    Zoom summary · GraphQL WG · 2025-07-03

    Lee: Review and finalize editorial changes for schema coordinates Meta field handling in the spec

    Zoom summary · GraphQL WG · 2025-07-03

    Rob: Create a PR to update GraphQL.js regarding schema coordinate Meta field behavior

    Zoom summary · GraphQL WG · 2025-07-03

    The GraphQL Working Group meeting began with Lee noting the thinner attendance due to the holiday week and introduced the agenda, which included updates on the spec, editorial changes, and several RFCs. Benjie highlighted the upcoming discount period for GraphQL Conference tickets and provided a summary of the previous meeting's progress, including merged items like executable descriptions and deprecation discussions. The group planned to discuss schema coordinates, argument values, list coercion algorithms, and incorporating Meta fields into execute collected fields, among other topics. Lee encouraged attendees to review the previous meeting's outcomes and emphasized the importance of highlighting upcoming dates to avoid scheduling conflicts.

    Zoom summary · GraphQL WG · 2025-07-03
    Schema Meta Fields Implementation Discussion

    The team discussed schema coordinates and meta fields, with Mark and Benjie presenting a solution that defines implementation-specific behavior for unresolved meta fields. Leebyron expressed satisfaction with the current proposal, though he may refine the language to clarify the meta case further. The group agreed that the current specification is acceptable, with Martin suggesting the possibility of introducing resolving logic in future releases. The team also noted that the GraphQL.js implementation needs updating to reflect the new changes.

    Zoom summary · GraphQL WG · 2025-07-03

    The meeting focused on discussing schema coordinates and meta fields, with Leebyron explaining that meta fields are not part of the schema and can be implementation-specific. Benjie highlighted the distinction between schema elements and introspection types, noting that introspection queries may include both schema and implementation-specific types. The group also discussed two RFCs related to argument value coercion in GraphQL, with Leebyron proposing a more significant rewrite of the algorithm to avoid relying on the "hasValue" concept. Benjie presented a coercion table for arrays and input objects, which aligns with GraphQL.js behavior and addresses underspecified areas in the current specification.

    Zoom summary · GraphQL WG · 2025-07-03

June 2025

  • Discussed in GraphQL WG

    The GraphQL Working Group meeting covered several key topics, including updates to schema coordinates, reorganization of the specification, and discussions on various RFC proposals.

    Zoom summary · GraphQL WG · 2025-06-26
    Next Steps

    Lee: Review and merge the schema coordinates PR after Mark's updates

    Zoom summary · GraphQL WG · 2025-06-26

    Lee reviews the agenda for the meeting, which includes discussions on schema coordinates, specified definitions as a new appendix section, descriptions on executable definitions, editorial review for execution result, and several RFCs from Steven and Benjie. Benjie mentions the addition of a new RFC status for GraphQL WG. The meeting begins with introductions from attendees and a reminder to contribute to the notes document, especially for technical content that the AI note-taker might miss.

    Zoom summary · GraphQL WG · 2025-06-26
    Schema Coordinates Proposal Updates

    The group discusses updates to the schema coordinates proposal. Mark reports that he has reverted to using dot separators for most elements except arguments, based on majority feedback. Lee recalls the rationale for previously blocking meta fields, but agrees they can be allowed. There is some discussion about edge cases with meta fields, which Mark suggests could be addressed with a clarification in the spec. Lee indicates that the main criteria for approval is having the code available, with the final decision on how to handle meta fields being the last outstanding item. Benjie raises a question about how to represent the schema coordinate for meta fields like __typename. The group considers whether it's realistic to include this in the July release, pending resolution of these final details.

    Zoom summary · GraphQL WG · 2025-06-26
    Meta Fields in Schema Coordinates

    The discussion focuses on how to handle meta fields in schema coordinates. Lee explains that meta fields are not part of the schema but are special cases handled during execution. The group agrees that schema coordinates referring to meta fields should be syntactically valid but semantically null when resolved. They decide to add a note in the specification stating that resolving a meta field doesn't return anything. The implementation in GraphQL.js should mirror this behavior. The team also considers the possibility of introducing more specific handling for meta fields in future versions of the specification.

    Zoom summary · GraphQL WG · 2025-06-26
  • 4 commits pushed on
  • 2 commits pushed on
  • 2 commits pushed on
  • Discussed in GraphQL WG

    The meeting began with introductions and agenda discussion, focusing on topics related to AI and GraphQL, including marketing strategies and upcoming conferences. The team reviewed several GraphQL proposals and specifications, discussing changes to HTTP status codes, error handling, and schema coordinates, while also addressing updates to execution algorithms and type systems. The conversation ended with discussions about the GraphQL specification cut date and service capabilities, with the team agreeing to aim for a July 1st cut date while advancing nullability features and composite schemas.

    Zoom summary · GraphQL WG · 2025-06-05

    The team discussed several GraphQL proposals and updates. Steven reported progress on adding descriptions to executable operations, which was moved from RFC 1 to RFC 2, and he is working on implementing it in GraphQL.js. Lee mentioned that this change is on a fast track to approval once the pull request is updated. Benjie presented a bug fix for schema definitions, ensuring descriptions are not dropped when the schema keyword is excluded. The team agreed to bump this change to RFC 2 as well. Benjie also introduced a trivial editorial change to standardize the use of "assert" in algorithms. Mark briefly mentioned a proposal on schema coordinates but was interrupted by his children and asked Benjie to continue the discussion.

    Zoom summary · GraphQL WG · 2025-06-05

    Schema Syntax Dot vs Double Colon

    The team discussed changes to schema coordinate syntax, specifically whether to use a dot (.) or double colon (::) to distinguish enum values from fields. While some members preferred the double colon for its precedent in other languages, the group ultimately leaned towards keeping the dot syntax to maintain consistency with existing tools and best practices, particularly since many GraphQL services follow the convention of using all caps for enum values. Lee suggested continuing the discussion on the thread and potentially reverting the recent change, while Mark offered to implement the final decision.

    Zoom summary · GraphQL WG · 2025-06-05

    The team discussed several proposals and RFCs related to GraphQL specifications. Mark proposed updates to the spec and implementation, which Lee supported and encouraged for conclusion. Benjie presented updates on data collection trilogy and one-off tasks, which Lee approved for merging. Rob shared progress on execution result definitions, which Lee praised for improving the type system coherence. The team celebrated the completion of default value coercion rules, which Benjie and Lee had worked on for a long time. Lee committed to reviewing and merging several proposals, including prevent skip and include on route subscription and discussion section 3 type system and execution versus request error.

    Zoom summary · GraphQL WG · 2025-06-05
  • @magicmark committed "Update spec/Appendix B -- Grammar Summary.md" on
  • 15 commits pushed on

May 2025

January 2025

December 2024

June 2021

April 2021

March 2021

January 2021

December 2020

  • On the agenda for GraphQL WG

    14 listed attendees · 8 agenda items · 4 linked RFCs

    • Agree to Membership Agreement, Participation Guidelines and Code of Conduct (1m, Lee)
    • Introduction of attendees (5m, Lee)
    • Determine volunteers for note taking (1m, Lee)
    • Review agenda (2m, Lee)
    • RFC: __typename is not valid at subscription root (10m, Benjie) #776
    • RFC: Schema coordinates (10m, Mark) #794
    • RFC: Default value coercion (20m, Benjie) #793 #701
    • Review previous meetings' action items (15m, Benjie and Lee)

November 2020

September 2020