Golden Path WG ·

Golden Path WG meetings · Jump to notes

Agenda

View agenda on GitHub

Golden Path WG — July 2026

Attendees

NameGitHubOrganizationLocation
Tobbe Lundberg@tobbeCedarJSKarlskrona, SE
Benjie Gillam@benjieGraphileChandler's Ford, UK
Pascal Senn@pascalsennChilliCreamZurich
Michael Staib@michaelstaibChilliCreamZurich
Jerel Miller@jerelmillerApolloWindsor, CO
Mark Larah@magicmarkYelpAustin, TX, US

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)
  7. Fragment Colocation (15m, Tobbe)

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-07-09T17:28:56Z
  • Meeting end: 2026-07-09T18:28:14Z
  • Summary start: 2026-07-09T17:28:57Z
  • Summary end: 2026-07-09T18:28:09Z

The July meeting of the Golden Path Working Group focused primarily on fragment co-location and query componentization in GraphQL applications. Tobbe from Cedar presented challenges with their current fragment implementation in the framework, particularly around developer ergonomics and the tension between TypeScript types and GraphQL fragments. The discussion revealed that the current documentation may be too prescriptive about requiring fragments for every component, when normal React props could be sufficient for non-GraphQL data sources. Pascal and Michael advocated for using fragments as they provide data contracts for UI components and enable local reasoning without affecting other components, while Benjie clarified that the intent is not mandatory usage but rather recommending best practices. The group also discussed implementation details around suspense boundaries, deferred queries, and pagination patterns, particularly around cursor-based pagination and handling new data insertion. The conversation concluded with a discussion about establishing concrete limits for GraphQL queries, including byte limits, depth limits, and field complexity, with participants agreeing to gather analytics data from their respective platforms to inform reasonable default values.

Next Steps

  • Jerel: Analyze Apollo Studio data to provide statistics on query depth, byte size, number of fields, variables, and skip/include conditions, and submit findings via issues.
  • Benjie: Update the Fragment Co-location documentation in the Golden Path to weaken the strong initial statement, as agreed upon in the meeting.
  • Tobbe: Consider writing up the Cedar approach to query componentization as a guide for the Golden Path, if deemed a reasonable solution.

Summary

Golden Path Working Group Meeting

The meeting began with informal greetings among participants including Benjie, Pascal, Tobbe, and Jerel. Pascal thanked Jerel for comments on an OpenTelemetry pull request regarding semantic conventions. Benjie officially welcomed attendees to the July meeting of the Golden Path Working Group, noting that participants had agreed to various guidelines and that meetings are recorded and published to YouTube.

Fragment Co-Location Implementation Discussion

Tobbe presented on fragment co-location, discussing how their current implementation in Cedar uses cells that declare their own root queries, firing off individual queries for each cell. He identified frictions with the Golden Path documentation, particularly regarding its focus on Relay's approach and the lack of documentation for alternative tools. Tobbe raised questions about how prescriptive the recommendations should be and expressed concern that the current approach makes components too closely tied to GraphQL, limiting their reusability across applications.

GraphQL Query Componentization Discussion

Benjie and Michael discussed fragment co-location and query componentization as part of the Golden Path work in progress. Benjie explained various approaches to query componentization, including fragment co-location and data masking methods used by different clients like Apollo and Relay. The discussion focused on addressing overfetching issues in GraphQL, where large amounts of data are downloaded, causing performance problems. The conversation ended with Benjie asking Michael to elaborate on developer ergonomics issues with the CEDAR approach to query handling.

Fragment Implementation Challenges Discussion

Tobbe discussed the challenges with their current fragment implementation and sales approach, highlighting issues with data fetching and the waterfall problem. Benjie explained how TypeScript types can be generated from GraphQL requests and help avoid certain issues, but noted that the TypeScript approach alone doesn't fully address local reasoning challenges. The discussion concluded with an anonymous question about "mergable queries" as a potential solution to avoid fragment injection and prop drilling, to which Benjie responded by encouraging the submission of alternative solutions in the Golden Path guide.

GraphQL Fragments in UI Components

The team discussed the use of GraphQL fragments in UI components, clarifying that fragments are intended to define data contracts for specific components rather than for general reuse across different components. They explained that while fragments are not meant for duplicating field sets, they work well with React components and can make code more modular and reusable. The discussion also touched on how the Relay compiler provides TypeScript type checking to ensure data component mismatches are caught at compile time.

GraphQL Fragments in Component Development

The team discussed the use of GraphQL fragments in component development, with Tobbe expressing concern that the documentation seemed to require fragments for every component. Jerel clarified that while fragments are beneficial for server-defined data, normal React props are still appropriate for components like date or full name displays. Pascal shared insights about the FATE library, which implements fragments without GraphQL, and emphasized the benefits of using fragments for modular development, particularly in large teams.

GraphQL Fragments Best Practices

The team discussed the importance of using fragments in GraphQL, with Pascal explaining that while fragments are recommended, they are not as strictly enforced as persistent documents. Jerel shared observations about teams struggling with isolated components and the tendency to replicate REST-like queries, which fragments aim to address. Pascal noted that most customers who seek help with GraphQL have issues related to not properly using fragments, highlighting that understanding the data contract benefits is crucial for successful implementation.

GraphQL Best Practices Discussion

The team discussed GraphQL fragments and best practices for the Golden Path documentation. They explored how to handle React integration with suspense boundaries and discussed the use of fragments for performance optimization. Benjie raised the need for concrete numbers and limits in the Golden Path, including depth limits, byte limits for GraphQL documents, and variable limits. The team agreed to gather statistics from real-world queries to determine reasonable default values for these limits, with Jerel offering to analyze query data from Apollo Studio. They also discussed the challenges of cursor pagination for mutations and the importance of proper fragment co-location for performance.