I encountered a bug where self.execution_context
in the extension hook is not properly isolated between different requests/coroutines.
async
(sync seems ok, but probably because it is single threaded)Schema
(with extension class it works just fine)Here is a repo with a reproducible example - https://github.com/kindermax/strawberry-extension-thread-safe
#2781 is probably related.
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