Discuss Performance Implications of Abstract Types (Unions/Interfaces).
Updated Apr 28, 2026
Short answer
Resolving abstract types requires the server to determine the concrete type at runtime, adding computational overhead.
Deep explanation
When a resolver returns an Interface, GraphQL executes an internal __resolveType function to check the object's shape and assign the correct type so it knows which fields to validate. In highly polymorphic lists (e.g., returning 10,000 feed items of mixed types), this reflection-like checking can bottleneck the CPU.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro