API Design · Junior · Question 48 of 75
What is GraphQL?
- 1A graph database
- ✓Correct answer: A query language for APIs where clients ask for exactly the fields they need from a typed schema, usually via one endpoint
- 3A REST framework
Explanation
It reduces over- and under-fetching for complex UIs, but needs care with caching, query cost and N+1 problems on the server.