What is the current behavior?
When I try to lazy-load a module that includes a @InjectPinoLogger decorator, it cannot start.
What is the expected behavior?
Lazy-loading modules should properly inject the logger.
Please provide minimal example repo, not code snippet. Without example repo this issue will be closed.
https://github.com/casey-chow/nestjs-pino-repro
To run and observe failure:
- Clone the repository.
npm install
npm start
Please mention other relevant information such as Node.js version and Operating System.
I'm on Node 22.2 and macOS Sonoma.
What is the current behavior?
When I try to lazy-load a module that includes a
@InjectPinoLoggerdecorator, it cannot start.What is the expected behavior?
Lazy-loading modules should properly inject the logger.
Please provide minimal example repo, not code snippet. Without example repo this issue will be closed.
https://github.com/casey-chow/nestjs-pino-repro
To run and observe failure:
npm installnpm startPlease mention other relevant information such as Node.js version and Operating System.
I'm on Node 22.2 and macOS Sonoma.