What problems does GraphQL aim to solve compared with REST?
Tap to flip
Back
Over-fetching (getting fields you do not need), under-fetching (needing several requests), and rigid endpoints. The client states exactly the fields it needs in one request to a single endpoint.