pranayairan
Joined 15 years ago
Karma
48
Submissions
37
Member since
Mar 6
Joined 15 years ago
- Graphql does allow you to specify data you need and make the user experience better but this is only true in theory. Since in graphql it is so easy to ask any data there are high chances of your queries not optimized and you end up doing a complex operation spanning multiple domains because you can do it. In REST since domains are tightly defined chances of non-optimized request are less.
- Another major con with GraphQL on mobile is there are no alternatives than Apollo client yet. This ties you to 1 solution for your entire application.
- There are companies that tried to enable Querying over rest. Though it is not as flexible as GraphQL.