At a glance
- Identifier: #823
- Stage: RFC X / Superseded
- Champion: @benjie
- Latest activity: Marked as Superseded on 2025-06-12
- Spec PR: https://github.com/graphql/graphql-spec/pull/823
- Related:
Spec PR description
Relates to https://github.com/graphql/graphql-wg/issues/592
This RFC is to act as a discussion place for operation expressions; an extension to the Schema Coordinates syntax that allows for a host of new use cases.
I've outlined some of the use cases that have been discussed so far, and have iterated on the syntax a little, but everything in this is very much in flux. The purpose of this PR is to be a place to host the discussion (separate from Schema Coordinates) so that others may bring their ideas to the table. I don't think it's suitable for merging at this time.
See the document rendered nicely here.
Grammar support:
- Anonymous operations
- Named operations
- Named fragments
- Inline fragments
- Named fragments within a path
- Arguments
- Argument nested input object references
- Lists
- Directives
Timeline
June 2025
- Marked as Superseded on 2025-06-12 by benjie
September 2021
- Spec PR merged on 2021-09-02 by leebyron
April 2021
- Advanced to RFC 0 on 2021-04-06 by leebyron
March 2021
- 2 commits pushed on 2021-03-16
- @benjie committed "Merge branch 'main' into operation-expressions"
- @benjie committed "Use > rather than . for name paths"
- Added to WG agenda on 2021-03-04
- Mentioned in WG notes on 2021-03-04
February 2021
- Top comment edited on 2021-02-19 by benjie
- 5 commits pushed on 2021-02-19
- @benjie committed "Add more examples and grammar summary"
- @benjie committed "Fix headers, add number syntax"
- @benjie committed "Format (some of) RFC with prettier"
- @benjie committed "Allow aliasing fragments within a SelectionPath"
- @benjie committed "Clarify grammar introduction"
- Top comment edited on 2021-02-17 by benjie
- Spec PR created on 2021-02-17 by benjie
- @benjie committed "RFC: operation expressions" on 2021-02-17