DEV Community

Discussion on: TLDR GraphQL?

Collapse
speculative profile image
Jeffrey Tao

I would love to see a non-trivial example which motivates the use case of GraphQL. Most tutorials that I've seen seem to show a very basic query which could easily be fulfilled by any other architectural style.

Collapse
khaled_garbaya profile image
Khaled Garbaya Author

My blog post will start with a basic query and evolve it each time to show case a new concept, what do you think?

Collapse
asparallel profile image
AsParallel • Edited on

Focus on the strengths: complex distributed queries, domain normalization, non-trivial projection. Also, an example which touches on multiple apis and has result dependent subqueries.

If you want to go even further, an example of how graphql can be used to avoid imposing api versioning issues on your clients by maintaining the same schema across multiple versions and handling the details in the resolver.

Collapse
speculative profile image
Jeffrey Tao

That sounds like an ideal format! One of my major challenges with figuring out if I care about GraphQL enough to try to learn it has been trying to find resources on what happens beyond the beginning stages of a project using GraphQL.

I'm looking forward to it :)