for mutations/queries you can access request object like so
@strawberry.query
async def sync_job(
self, info: Info
) -> t.Optional[sync_job_.SyncJob]:
user = info.context.request.USER
subscriptions are inconsistent as you need to access the request old style
@strawberry.subscription
async def sync_job(
self, info: Info
) -> t.Optional[sync_job_.SyncJob]:
user = info.context["request"].USER
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