You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] 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.
Current behavior
I'm using Injection scope REQUEST for Microservices (tested all Transports)
(node:28609) UnhandledPromiseRejectionWarning: TypeError
at Object.getMetadata (/Users/khoahoang/Desktop/a/node_modules/reflect-metadata/Reflect.js:354:23)
at ExceptionFiltersContext.reflectMethodMetadata (/Users/khoahoang/Desktop/a/node_modules/@nestjs/core/helpers/context-creator.js:20:24)
at ExceptionFiltersContext.createContext (/Users/khoahoang/Desktop/a/node_modules/@nestjs/core/helpers/context-creator.js:8:37)
at ExceptionFiltersContext.create (/Users/khoahoang/Desktop/a/node_modules/@nestjs/microservices/context/exception-filters-context.js:15:30)
at RpcContextCreator.create (/Users/khoahoang/Desktop/a/node_modules/@nestjs/microservices/context/rpc-context-creator.js:18:63)
at server.addHandler.data (/Users/khoahoang/Desktop/a/node_modules/@nestjs/microservices/listeners-controller.js:29:51)
at ServerTCP.handleMessage (/Users/khoahoang/Desktop/a/node_modules/@nestjs/microservices/server/server-tcp.js:46:60)
at Socket.readSocket.on (/Users/khoahoang/Desktop/a/node_modules/@nestjs/microservices/server/server-tcp.js:27:70)
at Socket.emit (events.js:182:13)
at Socket.EventEmitter.emit (domain.js:441:20)
(node:28609) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:28609) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Currently, I working around for this issue by add (contextId,
inquirerId) into :
I'm submitting a...
Current behavior
I'm using Injection scope REQUEST for Microservices (tested all Transports)
inquirerId) into :
and added Request context for microservices
master...hovonako:hovonako
Minimal reproduction of the problem with instructions
https://github.com/hovonako/nestjs-issue
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: