How to get data passed from interceptor to custom validator?

前端 未结 0 1954
后悔当初
后悔当初 2021-01-14 21:23

I am using NestJs. I use an interceptor to add data to the request body,
how can I this data in my validator it\'s not added in the body Dto, How to achieve that?

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