[Support] 手动增加 bull 消费者报 undefined #4207
-
Describe the problem(描述问题)问题
代码见 diff 执行该测试用例即可复现问题 npx lerna run test --scope=@midwayjs/bull Midway Versions(Midway 版本)Need to install the following packages:
✓ @midwayjs/faas-typings(3.10.13)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
哦,因为不在 ioc 容器里了,加一个 provide 就行。 @Provide()
export class xxx {} |
Beta Was this translation helpful? Give feedback.
哦,因为不在 ioc 容器里了,加一个 provide 就行。