how to pass a constructor parameter to the service layer from the controller or resolver in nestjs?

后端 未结 0 1272
日久生厌
日久生厌 2021-02-01 11:49

I want to pass the current user value to the service constructor to use its value, rather than passing it as a function parameter in each used function

相关标签:
回答
  • 消灭零回复
提交回复
热议问题