Using Jayden Windle's graphene-subscriptions, it's straightforward to hook model Create, Update, Delete (CUD) operations to a subscription, which is a foundational feature of using subscriptions with django.
For this to work in strawberry-django
there are three pieces of that puzzle:
strawberry
itself needs to supports subscriptions (which it does, and that's well-documented)django
needs to be set up to support subscriptions (django-strawberry
documents how to set that up using channels)strawberry-django
needs to handle model CUD events, to trigger updates for subscribers to model queries (so that updates are made as the model changes).I'm not sure if this has been done yet with django-strawberry (perhaps there's something I can't see in the code and isn't documented yet).
Is there anyone who has achieved this who can share how they do it?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too