Open
Description
Describe the bug
Contexts are not kept separated after upgrading graphql-modules
to any version above 2.2.0. In earlier versions, each request context remains distinct. Upgrading causes the context being overwritten by a parallel request.
To Reproduce
Steps to reproduce the behavior:
- Implement a resolver that executes additional functionality which takes some time. Can be simulated with a timeout.
- Call an injected service which uses the
@ExecutionContext()
and returns an identifiable value from that context. - Send at least two parallel requests.
Expected behavior
The contexts should remain the same during the whole runtime of the resolving function.
Environment:
"graphql-modules": "2.2.1"
and above, including 3.0.0- NodeJS: 22.14
Code example
Metadata
Metadata
Assignees
Labels
No labels