Skip to content
New issue

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

同时使用GRPC和MikroORM组件时报错 #4293

Open
ghostoy opened this issue Feb 14, 2025 · 0 comments · May be fixed by #4294
Open

同时使用GRPC和MikroORM组件时报错 #4293

ghostoy opened this issue Feb 14, 2025 · 0 comments · May be fixed by #4294

Comments

@ghostoy
Copy link
Contributor

ghostoy commented Feb 14, 2025

当GRPC未配置Provider的时候,不会初始化框架的application。而在MikroORM中会尝试获取所有框架的application,并添加中间件(参见configuration.ts) 。此时获取的application是null,从而会导致报错。

@ghostoy ghostoy linked a pull request Feb 14, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant