拦截器中无法注入TypeORM Model吗?
minefujiko9293 opened this issue · comments
minefujiko9293 commented
minefujiko9293 commented
Harry Chen commented
可能和执行时机有关,拦截器类的初始化时机非常靠前,早于 typeorm 的model初始化之前了。
🍔 A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. 🌈
minefujiko9293 opened this issue · comments
可能和执行时机有关,拦截器类的初始化时机非常靠前,早于 typeorm 的model初始化之前了。