DEV Community

Discussion on: Is GraphQL better option than Rest ?

Collapse
 
iamsarthakk profile image
Sarthak kumar

Great Article, Can you please elaborate why we shouldn't change the application to use graphql if it already has REST? I think it would still be worth it if our requirements are continuously changing and when it can give us a huge performance boost. Still learning about GraphQL so not much confident if I should migrate the REST application to graphql.

Collapse
 
arpanforgeek profile image
Arpan Bandyopadhyay

Thanks for reviewing my post . If you are already using Rest and you have simple application , you are not playing with so much data , you are not fetching data from multiple resource at a time, and if your api/services are resource based then you should not move to GraphQL.. Because Rest can handle all of these very easily and Rest has very good dev community support . GraphQL is still growing and switching to a new technology is always costly . If your application is data centric and you need to handle billions of data from multiple resource and your application is not resource based then you can request your business to move to GraphQL. Otherwise Rest is good .