Golden Path WG ·

Golden Path WG meetings · Jump to notes

Agenda

View agenda on GitHub

Golden Path WG — May 2026

Attendees

NameGitHubOrganizationLocation
Jerel Miller@jerelmillerApolloColorado, USA
Benjie Gillam@benjieGraphileChandler's Ford, UK
Mark Larah@magicmarkYelpAustin, USA

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. Check for ready for review agenda items (5m, Host)
  6. Reminder: grants available for key initiatives (1m, Host)

Zoom summary

View zoom summary on GitHub

Meeting Summary for GraphQL Golden Path WG

NOTICE: This summary was auto-generated by Zoom's "AI". AI-generated content may be inaccurate or misleading. Always check for accuracy. If in doubt, please consult the meeting recording at https://youtube.com/@GraphQLFoundation/playlists

  • Meeting start: 2026-05-14T17:29:51Z
  • Meeting end: 2026-05-14T18:31:51Z
  • Summary start: 2026-05-14T17:29:51Z
  • Summary end: 2026-05-14T18:31:50Z

The Golden Path Working Group meeting focused on discussing Mark's mock specification proposal, which aims to standardize client-side mocking in GraphQL applications. Mark presented his work on a mock directive that allows developers to mock fields and data locally without requiring a separate mock server. The discussion evolved into broader topics about trusted documents, service capabilities, and the importance of normalized caching with proper ID field implementation. Benjie and Mark explored how to standardize client-local directives and field removal processes, potentially using new directives like "at-local" to handle client-specific modifications. The conversation concluded with agreement on the value of normalized caching and the need to incorporate these standards into the Golden Path, with plans to develop service capabilities to automatically configure clients and tools appropriately.

Next Steps

  • Jerel: Talk to Martin about the mock spec and consider how to support it in both Apollo and Apollo Kotlin to help push the spec forward.
  • Jerel: Review the implementation of the mock spec (Apollo link) provided by Mark.
  • Benjie: Continue work on standardizing trusted document handling and service capabilities, including exploring a standardized interchange format/mechanism for trusted documents and considering how to express client-local directive removal in tooling.
  • Mark, Jerel, Benjie: Consider raising pull requests to the Golden Path documentation/spec to include rules and best practices around normalized caching, ID fields, and related client/server/tooling behaviors.
  • Mark: After GraphQLConf, work on contributing to the Golden Path documentation/spec regarding normalized caching and related topics.
  • Benjie: Work with Mark and Jerel to integrate normalized caching best practices and service capabilities into the Golden Path, including potential new GAPS (e.g., for client-local directive removal).

Summary

Golden Path Working Group Meeting

The Golden Path Working Group meeting focused on informal discussion with no specific agenda items. Benjie opened the meeting and noted there were no particular topics planned, pending feedback. Mark mentioned he had a tangentially related item about mocking the mock spec, which he planned to discuss at the end if time permitted. The meeting appeared to be primarily an informal check-in with participants discussing upcoming GraphQLConf attendance.

GraphQL Mock Specification Presentation

Mark presented a new GraphQL mock specification (GAP-10) that he developed with Michael from Airbnb, explaining it allows developers to mock GraphQL APIs in the browser without waiting for backend developers. The specification uses a directive approach and is implemented as an Apollo link, with a demo website available for testing. Jerel acknowledged they had discussed similar tooling concepts with Martin, particularly around Apollo Kotlin, but noted the challenge of creating cross-client solutions due to different technology stacks used by developers.

GraphQL Testing Tooling Standardization

Jerel and Mark discussed a tooling approach for standardizing GraphQL testing, focusing on field-level mocking rather than operation-level mocking. Mark demonstrated a working implementation that allows mixing real server data with mocked fields, showing how it can handle edge cases and provide a "dream query" starting point similar to what their solutions team uses with clients. Both participants expressed positive feedback on the approach, with Jerel noting that operation-based mocking tends to be fragile, and Mark indicating willingness to adapt the solution based on feedback.

GraphQL Community Extensions Process

Mark and Jerel discussed the process for proposing community extensions to GraphQL, such as the connections specification and cost directive. Mark explained that these extensions, which don't belong in the core GraphQL spec, are published as community specs and can now be submitted through GAPS (GraphQL Proposals), a new initiative led by Benjie. The discussion highlighted the potential for client tools to adopt these extensions, making them more widely available across different platforms.

Client Directive Type Generation Implementation

Mark and Jerel discussed the implementation of a client directive for generating types, particularly focusing on web platforms. They determined that schema extensions could be used to implement this functionality on web, as it already has a defined approach for type generation. Mark mentioned having a working demo and offered to share the code with Jerel. Jerel expressed interest in discussing the implementation with Martin to potentially include it in both web and mobile environments.

Apollo Mock Directive Plugin Discussion

Mark and Jerel discussed the implementation of a mock directive plugin for Apollo client, with Mark sharing the GitHub repository for review. They explored how the plugin interacts with cache behavior and trusted documents, with Jerel confirming that the GraphQL document remains the ultimate source of truth. Benjie joined the discussion, praising the spec's quality and expressing interest in improving the handling of trusted documents across the ecosystem. Benjie mentioned his work on service capabilities, which aims to standardize how clients and servers communicate and handle trusted documents.

Trusted Document Standardization Mechanisms

Benjie discussed standardizing trusted document mechanisms, including different methods like writing to files, uploading to HTTP endpoints, and using signatures. He proposed creating a capability system to indicate standard approaches and enable more flexibility in service capabilities, such as depth limits. Benjie suggested potentially making service capabilities a separate HTTP endpoint to address issues with introspection being turned off.

GraphQL Document Standardization Discussion

The team discussed standardizing interactions with trusted documents in GraphQL JS, focusing on creating a standardized interface for document ID exchange and document hashing. They explored the concept of client-local directives, with Benjie proposing the use of an "at local" directive to mark client-side only elements that should be removed before sending to the server. The discussion touched on the distinction between source schemas and execution schemas, and how compiler-only directives could be used to handle client-local elements during schema compilation.

Server Schema Directive Validation Rules

Benjie explained that server-side compile-only directives need to perform their actions fully to maintain schema validity, as removing them without executing their functionality would make the schema invalid. He proposed generalizing the deletion rules from the @mock directive to create a shared specification for removing client-only elements from schema documents before sending them to the server. Benjie also discussed a future approach where clients would be responsible for determining the schema by combining server information with client-specific additions, rather than using the server's SDL directly.

GraphQL Code Generator Implementation Discussion

The team discussed implementing GraphQL Code Generator functionality for trusted document generation and field/directive removal. Benjie and Jerel explored the distinction between removing fields versus removing directives, with examples like data masking and test overrides. They noted that the @local directive on directives feature is close to being merged in RFC3. Mark suggested standardizing the @local directive and proposed adding ID fields to operations by default, though this topic was left for further discussion.

GraphQL Service Capabilities Discussion

Benjie and Mark discussed the use of ID fields in GraphQL and their multiple purposes, including cache identification. Benjie emphasized the importance of service capabilities in creating an automatic and seamless experience for users, particularly in the "Golden Path" approach. They explored the potential for using service capabilities to configure normalized caches and enforce best practices through lint tooling. Benjie encouraged others to think of additional use cases for service capabilities and to identify any requirements beyond the current string-string key-value store structure.

GraphQL Normalized Caching Implementation

Mark and Benjie discussed implementing normalized caching as part of the GraphQL golden path, focusing on the importance of using consistent identity fields across all cacheable object types. They agreed that while normalized caching introduces complexity, it offers significant benefits like consistent rendering and data updates. Benjie encouraged Mark to submit pull requests to formalize these rules and work on automating the implementation process. Mark noted he would need a few weeks after the conference to focus on this work.