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
A client needs to fetch the same 'greeting' field twice in one query, once for name 'A' and once for name 'B'. What's required to do this correctly?
A
Nothing special — GraphQL handles this automatically
B
Aliasing each invocation (e.g. a: greeting(name: "A"), b: greeting(name: "B")) to avoid a response-key collision
C
This is impossible in GraphQL
D
Using two completely separate query operations, always
Check Answer