8
cousine
7y

Spent the day refactoring a REST app into graphQL, that feeling when all tests are green and everything is committed and merged 😧🤓

Comments
  • 1
    Impossible.
    This is dev rant you must get stuck and then okay.

    Haha
  • 0
    I have to ask how was the experience. I started going down that path for a current project but started seeing more database calls than ever. I get that the outcome is hugely beneficial and easy to use but gathering all that data at once seems crazy.
  • 0
    Its good so far, basically instead of collecting your data in controllers, you instead do it in the graphql schema, and its just the same db calls as you'd have had in rest, just in a single request instead of many, have to say also, it really helped that we had a service layer between controllers and models.
Add Comment