strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
MIT License
391 stars 115 forks source link

Extending subscription support #467

Open sdobbelaere opened 5 months ago

sdobbelaere commented 5 months ago

As promised on https://github.com/strawberry-graphql/strawberry-graphql-django/issues/454 I'm hereby publishing my subscription implementation for OneSila. .

What does it do:

What it doesn't do:

This PR is intended as first step towards comprehensive subscriptions support for models out of the box. The reason this wasn't published sooner is because this PR should be stamped as experimental.

Types of Changes

Issues Fixed or Closed by This PR

Todos:

Want to help?

codecov-commenter commented 5 months ago

Codecov Report

Attention: 101 lines in your changes are missing coverage. Please review.

Comparison is base (b5adb23) 87.89% compared to head (0ce4729) 85.18%.

Files Patch % Lines
strawberry_django/subscriptions/publishers.py 0.00% 69 Missing :warning:
strawberry_django/subscriptions/subscribers.py 0.00% 9 Missing :warning:
strawberry_django/receivers.py 0.00% 8 Missing :warning:
strawberry_django/subscriptions/receivers.py 0.00% 8 Missing :warning:
strawberry_django/subscriptions/utils.py 0.00% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #467 +/- ## ========================================== - Coverage 87.89% 85.18% -2.71% ========================================== Files 37 42 +5 Lines 3164 3267 +103 ========================================== + Hits 2781 2783 +2 - Misses 383 484 +101 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.