strawberry-django
strawberry-django copied to clipboard
Production Ready?
Is this Library ready for production usage, is it supported enough?
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
The maintainers certainly don't consider that since the library's version is < 1.0.0.
Anyways, the dev experience with this library is unmatchable. It's a shame we lack documentation
Right, Strawberry core and django integration, both are still under development. Type generation from models is already quite stable but other areas may still change.
I agree with you that we are lacking documentation. It would be nice to see contributions there as well 😄
Not ready for production. I would go for Graphene if you want graphql for production.
There are still issues that are not addressed like nested create mutations, django choices / integer choices / enum support, many to many support query issues with prefetching, permission issues,
I have to say it is easier to write than Ariadne or Graphene but the issue is the docs are not too great.
Hey @ccsv ,
Although this lib really lacks the support for everything you mentioned here, all of those features/issues are implemented/solved in strawberry-django-plus, which is also going to be merged really soon into this repo.
I have a really big production project running using strawberry-django-plus
, async django and even a lot of subscriptions. Using strawberry, which also enforces good typing practices, has allowed us to develop that project a lot faster than we ever could when we were using graphene (which not only has a legacy way of defining things, it is very error prone due to its lack of typing support). I'm planning on writing a blog post regarding how we do things here, because I think one thing that this integration (and also my own lib) is lacking is a good amount of examples on how to do common and advanced things.
and even a lot of subscriptions.
@bellini666 Your subscriptions are django specific or just the plain strawberry, ASAIK either SD or SD+ doesn't support subscriptions at the moment. #155
and even a lot of subscriptions.
@bellini666 Your subscriptions are django specific or just the plain strawberry, ASAIK either SD or SD+ doesn't support subscriptions at the moment. #155
Subscriptions support is going to be available soon using channels: https://github.com/strawberry-graphql/strawberry/pull/1407
It can already be used with pre-releases also.