nest
nest copied to clipboard
Durable providers are unable to recover from errors being thrown
trafficstars
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
the issue is described here and it is still relevant: https://github.com/nestjs/nest/issues/11664
Minimum reproduction code
check here: https://github.com/nestjs/nest/issues/11664
Steps to reproduce
No response
Expected behavior
durable provider should be decached and retried next time.
it would be nice if this is the default behavior even after the creation of the provider, i.e. in case of exceptions along its life
Package
- [ ] I don't know. Or some 3rd-party package
- [ ]
@nestjs/common - [ ]
@nestjs/core - [ ]
@nestjs/microservices - [ ]
@nestjs/platform-express - [ ]
@nestjs/platform-fastify - [ ]
@nestjs/platform-socket.io - [ ]
@nestjs/platform-ws - [ ]
@nestjs/testing - [ ]
@nestjs/websockets - [ ] Other (see below)
Other package
No response
NestJS version
10.1.3
Packages versions
"@nestjs/typeorm": "^10.0.0",
Node.js version
16
In which operating systems have you tested?
- [ ] macOS
- [ ] Windows
- [ ] Linux
Other
No response