You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First let me thank you for this awesome little framework. Such a nice API!
Today I've learned that responder now supports GraphQL by using Graphene. Which is very nice.
However, after using Graphene in a rather big project I am no longer a big fan of it. While it was awesome when we started out it but as the project grew it no longer worked for us:
There's a huge performance problem when returning bigger datasets
Its currently build on graphql-core which is not very pythonic - far from it. The code looks like a 1:1 translation from JavaScript (like implementing the Promise interface in Python)
When working with other implementations (like Apollo Server) it makes it very difficult to switch mentally between those implementations because Graphene shields you in different ways. This is fine until you read general tutorials about the concepts of GraphQL and then wonder how to implement this with Graphene
The documentation of Graphene is often very basic and complex problems are hard to figure out
The error handling of Graphene (or graphql-core) is often not very helpful or cryptic when things go wrong.
After facing heavy performance problems in our project we looked for alternatives. This was when we learned about graphlql-core-next which is a rewrite of graphql-core in a pythonic way and makes heavy use of async.io.
We archieved much better results in our first initial tests. The downside is that this library lacks proper integration in a web framework.
Personally I feel that responder would be the perfect missing link for graphql-core-next and I wonder how difficult it would be to implement some kind of integration.
The text was updated successfully, but these errors were encountered:
Greetings!
First let me thank you for this awesome little framework. Such a nice API!
Today I've learned that responder now supports GraphQL by using Graphene. Which is very nice.
However, after using Graphene in a rather big project I am no longer a big fan of it. While it was awesome when we started out it but as the project grew it no longer worked for us:
After facing heavy performance problems in our project we looked for alternatives. This was when we learned about graphlql-core-next which is a rewrite of graphql-core in a pythonic way and makes heavy use of async.io.
We archieved much better results in our first initial tests. The downside is that this library lacks proper integration in a web framework.
Personally I feel that responder would be the perfect missing link for graphql-core-next and I wonder how difficult it would be to implement some kind of integration.
The text was updated successfully, but these errors were encountered: