QamoosTech
Web & APIsIntermediate

GraphQL

PronunciationGRAF-ik-ew-el

Definition

An API style where the client sends one query that describes exactly which fields it wants, and the server returns only those.

Where you hear it

Frontend-heavy teams, mobile apps, and "REST vs GraphQL" debates.

Examples

  • With GraphQL the app fetches the user and orders in one request.
  • The query asks only for name and email.

Common mistake

Thinking GraphQL is always better than REST. It adds complexity such as caching and query cost control.