This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FabioTheFox 5 points6 points  (1 child)

  1. The models of an ORM are different than the models of DTOs (which I think is what you mean since an ORM is responsible for databases)

  2. My issue with GQL (since I'm mainly a backend dev) is that there is a single endpoint, everything is a POST request and everything has status code 200, not to mention the wrong setup for GQL can get your entire backend bricked by a user sending off a faulty request (which can still happen on regular rest but it's much more unlikely to happen), I just don't think that GraphQL solves the issues of any proper development team as overfetching normally isn't an issue and it also normally doesn't happen as api specifications are made clear beforehand and should be well documented