DEV Community

Python Flask GraphQL with Graphene

Sadhan Sarker on January 14, 2020

Python Flask GraphQL with Graphene GraphQL is a query language for APIs. It's becoming more popular because of the many benefits it offe...
Collapse
 
azamanaza profile image
Miguel Felipe Calo • Edited

"On the other hand, when fetching for the same data with REST we would end up with multiple REST roundtrips"

IMO, anything graphql does, rest can and vice versa. But when you're doing more REST things on a graphql api, then you should just go REST.

Many rest frameworks support "data" or property filtering.

Collapse
 
khaledbadenjki profile image
Khaled Badenjki

Said every REST developer who is too afraid to jump into the GraphQl world :P

Collapse
 
luturol profile image
Rafael Ahrons

Great Article! GraphQL looks a lot more easier than making a Restful API in flask. I'm currently studying how to build one using Flask and kind end up loving how easy you can build things using Python and Flaks.

There is a duplicated paragraph on your article at the begining

Collapse
 
mesadhan profile image
Sadhan Sarker

Yes! I know that, so I mention links in reference. Don't take it the negative way I'm just learning how to implement it on python flask. And just trying to put everything as a future reference as well as I think it can be helpful for others.

Thanks for your valuable comment.