After bootstrap application allow to create fns via ExternalContextCreator with global enhancers. For that we need to pass ApplicationConfig to container
[System Information]
OS Version : Windows 10
NodeJS Version : v18.12.1
YARN Version : 1.22.19
[Nest CLI]
Nest CLI Version : 10.1.8
[Nest Platform Information]
common version : 10.1.0
core version : 10.1.0
Is there an existing issue for this?
Current behavior
When I using libs which using
ExternalContextCreator
for apps - global enhancers doesnt work for some reason. (For example nest-commander, necord)Minimum reproduction code
https://github.com/SocketSomeone/nestjs-standalone-apps-issue
Steps to reproduce
yarn install
yarn start:dev
Expected behavior
After bootstrap application allow to create fns via
ExternalContextCreator
with global enhancers. For that we need to pass ApplicationConfig to containerPackage
Other package
No response
NestJS version
10.1.0
Packages versions
Node.js version
18.12.1
In which operating systems have you tested?
Other
No response