We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前有个函数返回的是 typeorm.EntityManager
typeorm.EntityManager
manager(): EntityManager { if (this.ctx.entityManager) { return this.ctx.entityManager; } const dataSource = this.dataSourceManager.getDataSource('default'); return dataSource.manager; }
https://github.com/midwayjs/midway/blob/main/packages/code-dye/src/middleware.ts#L52
此时的 reqInfo 是无法json序列化的
The text was updated successfully, but these errors were encountered:
看起来是循环依赖导致的无法序列化,这个的确不好处理。
Sorry, something went wrong.
No branches or pull requests
目前有个函数返回的是
typeorm.EntityManager
https://github.com/midwayjs/midway/blob/main/packages/code-dye/src/middleware.ts#L52
此时的 reqInfo 是无法json序列化的
The text was updated successfully, but these errors were encountered: