re: I am a Senior Software Architect, Ask Me Anything! VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Explain to me like I'm a total newbie (almost true). Why is graphql a better option, for a small/medium sized application, than simply sending the...
 
  1. Adjustability. If you have a very rich data model, for example, if one order of your e-shop must return the full thing when you need it and just order id and order date for the orders list.
  2. Multiple sources. For example, you may want to have Cassandra DB for analytics (cheap writes, expensive reads) and some SQL DB for everything else (cheap reads, expensive writes) and want to assemble this all to provide some unified API

Aside from that, GraphQL just reduces the amount of code you have to write, and less code means less bugs :)

code of conduct - report abuse