Error with ProxyProvider in nestjs-cls
#200
Labels
investigation
Why is this happening?
needs info
Waiting for more information from the OP
stale
The solution hasn't moved forward in a while
Problem Description
I am trying to create a simple
ProxyProvider
using thenestjs-cls
library, but I encounter an error during application startup:Cannot access the property "constructor" on the proxy provider Test555 because it has not been resolved yet and has been registered with the "strict: true" option. Make sure to call "await cls.resolveProxyProviders()" before accessing the proxy provider.
Versions
nestjs-cls
: ^4.5.0Code Example
Here is a minimal code snippet that reproduces the issue:
The text was updated successfully, but these errors were encountered: