[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
When I use symbols as DI tokens and UnknownDependenciesException happens then I get an error:
[Nest] 31114 - 2019-2-13 17:08:35 [ExceptionHandler] Cannot convert a Symbol value to a string +1ms
TypeError: Cannot convert a Symbol value to a string
at Object.exports.UNKNOWN_DEPENDENCIES_MESSAGE (/home/user/project/node_modules/@nestjs/core/errors/messages.js:25:61)
A sane error message like this
[Nest] 1018 - 2019-2-13 17:21:56 [ExceptionHandler] Nest can't resolve dependencies of the Symbol(di-token) (?). Please make sure that the argument at index [0] is available in the ServicesModule context. +0ms
Nest version: 5.5.0
For Tooling issues:
- Node version: v8.12.0
- Platform: Linux
Others:
I came across this while developing om 6.0.0 but haven鈥檛 had the time to fix ir. I can look into it this weekend, should be easy fix. Would you mind assigning me @kamilmysliwiec ? 馃槃
5.7.3 has been published.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I came across this while developing om 6.0.0 but haven鈥檛 had the time to fix ir. I can look into it this weekend, should be easy fix. Would you mind assigning me @kamilmysliwiec ? 馃槃