At a glance
- Project
- GraphQL Spec
- Identifier
- #939
- Stage
- RFC 1 / Proposal
- Champion
- @yaacovCR
- Updated
- 2026-03-05
- Latest activity
- Pull request closed on
- Source
- Pull request
- Related RFCs
- #373
Pull request description
Cf. https://github.com/graphql/graphql-spec/pull/373#issuecomment-375489730
# generic types
interface Node {
id: ID!
}
interface Connection {
pageInfo: PageInfo!
edges: [Edge]
}
interface Edge {
cursor: String
node: Node
}
type PageInfo {
hasPreviousPage: Boolean
hasNextPage: Boolean
startCursor: String
endCursor: String
}
# schema-specific types
interface Pet {
id: ID!
name: String
}
type Cat implements Pet & Node {
id: ID!
name: String
}
type Dog implements Pet & Node {
id: ID!
name: String
}
union HousePet implements Pet & Node = Cat | Dog
# house-pet-specific types
type HousePetEdge implements Edge {
cursor: String
node: HousePet # <<< This is what is unlocked by this PR
}
type HousePetConnection implements Connection {
pageInfo: PageInfo!
edges: [HousePetEdge]
}
# query
type Query {
housePets: HousePetConnection
}
Timeline
March 2026
- Pull request closed on
June 2022
- Discussed in GraphQL WG
"Unions implementing interface" update (10m, Yaacov Rydzinski) 14. Implementation question for Union fields (link: graphql/graphql-spec#939 (comment))
Meeting notes · GraphQL WG · 2022-06-02Implementation question for Union fields (link: graphql/graphql-spec#939 (comment))
Meeting notes · GraphQL WG · 2022-06-02
May 2022
- @yaacovCR committed "unions implementing interfaces have fields" on
- On the agenda for GraphQL WG
22 listed attendees · 9 agenda items · 5 linked RFCs
- Agree to Membership Agreement, Participation & Contribution Guidelines and Code of Conduct (1m, Lee)
- Introduction of attendees (5m, Lee)
- Determine volunteers for note taking (1m, Lee)
- Review agenda (2m, Lee)
- Review previous meeting's action items (5m, Lee)
- Discuss new intersection type proposal (15m, Yaacov) #939 wg#944
- Defer/Stream #742
- CCN status update and rollout plans (10m, Alex Reilly) #895
- @oneof - time to promote to RFC2? (20m, Benjie) #825
April 2022
- Advanced to RFC 1 on by leebyron
- Discussed in GraphQL WG
- 2 commits pushed on
- @yaacovCR committed "review feedback"
- @yaacovCR committed "adjust validation text"
- Top comment edited on by yaacovCR
- Pull request created on by yaacovCR
- @yaacovCR committed "Add spec text for unions implementing interfaces" on