Skip to content

Comparison with GraphQL for non-email APIs #370

Answered by neilj
TuhinNair asked this question in Q&A
Discussion options

You must be logged in to vote

GraphQL is a good fit if you:

  • don't need offline support
  • are almost entirely read-only (your client doesn't make many changes)
  • have one huge graph of related data

Essentially, if you have Facebook's problems, then Facebook's solution is probably good.

Most apps though are much more like an email client: if you have a traditional database-backed application with tables of different data types, then JMAP is probably a much better fit. With JMAP you get very powerful generic mechanisms for resyncing data when a change is made elsewhere, full push updates support, an efficient and consistent way to perform mutations, access to progressively loading queries to display huge volumes of data ef…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TuhinNair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants