"name" parameter is deprecated by typeorm documentation, but is required while registering multiple databases in nestjs project.
Seberyak opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
deprecated parameter "name" is required for identifying datasources in project
Minimum reproduction code
Steps to reproduce
No response
Expected behavior
It shouldn't be deprecated, or new identifier should be added
Package version
9.0.1
NestJS version
9.0.11
Node.js version
16.16.0
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response
@nestjs/typeorm
name
!== typeorm
name
. We still require folks to provide the name parameter so we can distinguish different data sources.
@kamilmysliwiec what about that?
The parameter is still marked as deprecated. #1557 was not merged!
looks like it's still not merged, I was looking around for alternative for this from past 2 days but eventually I went with using it and now I found this thread... 🙁