Whoo, already five years have passed since Facebook publicly released GraphQL in 2015. It's not anymore just a new shiny thing - GraphQL ecosystem ...
For further actions, you may consider blocking this person and/or reporting abuse
Very well explained and simple to understand 🛸 Especially loved the gifs! May I ask what you used to make them?
Thanks a lot! 🙂 I was using PowerPoint! 😄 Recorded the presentation and converted video to the gif
Interesting, thank you, hadn't thought of that! The gifs look super smooth, nice one 😁
Great intro to the topic with cool examples, I like how you covered both frontend and backend so we know what is going on. Thanks on resources for further exploration, looking forward for more awesome articles from you! =D
Thanks mate! 🤘
Say I have a MSSQL/MySql/PostgreSQL database with two tables, to keep it simple, with say 10 and 20 fields respectively, I would have to write a separate resolver for all the 30 different fields? Can you show a simple example of such a use case?
You don't have to write resolvers for each field. By default, if you didn't specify a resolver for a field, GraphQL will return an object property with the same name.
Imagine that you have "Spaceships" table with 30 fields. This will be our "main" resolver for querying all spaceships:
And now, because we didn't write resolvers for
Spaceship
fields, GraphQL will returnspaceship.model
if we queriedmodel
field,spaceship.weight
forweight
field and same applies for every other queryable field. Hope that this makes sense 🙂Comparing both with their differences makes no sense, see this for the details
A REST API Architectural style is not to make a GET request on a given end-point and is not commonly used in the wild except for the "text/html" media type.
Very detailed post. Great work!
Tip: include a #beginner and/or #tutorial tags
Informative article ! I just heard GraphQL from server engineer.
Thanks for the clear overview. I'm looking forward to getting into it with Gatsby...
HI Danijel, Awesome explanation !! You make GraphQL easier for me...
Appreciated your effort and spending time to make this..
Best explanation I've seen so far. Thanks!
Nice article. I have been using GraphQL for the above scenarios and I have not looked back since then 🙂.
Great introduction into the topic. Thank you @davinci2015
Thanks for the article.
Great article with an interesting example 👍👏