Closed dvorakj31 closed 8 months ago
Permissions are powered by FieldExtensions
. These currently do not explicitly support subscriptions since we only expect awaitables
or non-awaitable values, not for AsyncGenerators
. However, since the new stream
feature in GraphQL-core also allows to make every resolver an AsyncGenerator
, we need to add support for it as part of #2914. I'll create a separate issue to track this in a moment.
Ok, thank you!
Subscription is failing with error after upgrading to version 0.217.0 from 0.216.1. Bug seems to be in
permission_classes
, because if I'm trying to use subscription without permission_classes, it works without any problem.Describe the Bug
Error when subscription is used with
permission_classes
:Here is sample code to reproduce the bug:
System Information
Upvote & Fund