Replies: 2 comments
-
限于 TypeOrm ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
是这么个需求
在入库之前,需要获取
Context
中的userId,用作表的create_by和update_by请问有没有比较优雅的解决方案,TypeOrm的订阅器试了下好像拿不到Context的数据,然后像试试拦截器来对入参进行修改
所以这边问问各位大佬有没有遇到过这种问题,求个思路
Beta Was this translation helpful? Give feedback.
All reactions