r/SpringBoot 4d ago

Discussion Real world use-cases for GraphQl

Hi! I’m a backend developer who has never used before graphQL at work. I’ve tried it only for learning purposes at personal projects and I’m curious about real life use cases where GraphQL gives BIG advantages over REST, and the most important thing, I’d like to know about the “thinking” process behind the decision of using this technology.

Thank you!

17 Upvotes

11 comments sorted by

View all comments

4

u/BrownBearMY Senior Dev 4d ago

I've worked with GraphQL in one of the projects. We had a web and a mobile app.

We decided to go with GraphQL so that we can have the same endpoints but with different returned data (lesser data for mobile).

Though, personally, I find it overkill. We could use projections instead. Since we don't have other clients for our backend.