Conceptual
Login

GraphQL Union Types

A closed list of possible object types with no shared field contract — the right tool when results are genuinely disjoint (e.g. `SearchResult = User | Post`), and the standard pattern for typed error payloads in mutation results.

This Concept is waiting for its first lesson!

A closed list of possible object types with no shared field contract — the right tool when results are genuinely disjoint (e.g. `SearchResult = User | Post`), and the standard pattern for typed error payloads in mutation results.

Are you a teacher? Sign in to start contributing.

Sign In