We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
看图中红框中部分,一些其他的class文件,运行时并没有获取到环境变量,怎么回事呢? 出现undefined的就是未获取到变量。
The text was updated successfully, but these errors were encountered:
官方的解释:
这是ts的decorators特性导致的问题,所以给出了forRootAsync/registerAsync/useFactory(inject)/useClass的解决方案,你的class在别的模块使用的时候,provider时,用useClass或者useFactory的方式,应该就可以了
Sorry, something went wrong.
No branches or pull requests
看图中红框中部分,一些其他的class文件,运行时并没有获取到环境变量,怎么回事呢?
出现undefined的就是未获取到变量。
The text was updated successfully, but these errors were encountered: