DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
GraphQL Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
GraphQL
Why is including __typename and id in a mutation's response selection important?
A
It's purely optional metadata with no functional effect
B
It's what allows Apollo Client to identify which existing cache entity to merge the mutation's update into — without it, automatic cross-query updates don't work
C
It makes the mutation execute faster on the server
D
It's required by the GraphQL spec for all fields
Check Answer