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
https://mikro-orm.io/docs/usage-with-nestjs
The adapter forFeature is incorrectly documented. The documentation shows
@Module({ imports: [MikroOrmModule.forFeature([Photo])], providers: [PhotoService], controllers: [PhotoController], }) export class PhotoModule {}
When it should be
@Module({ imports: [MikroOrmModule.forFeature([{entities: Photo}])], providers: [PhotoService], controllers: [PhotoController], }) export class PhotoModule {}
The text was updated successfully, but these errors were encountered:
thank you for reporting! I already fixed it in the 6536d4d
+@B4nan to report the error in the website too.
Sorry, something went wrong.
What about supporting that array param? Currently there is no other option as the entities array, right? I would support both (to maintain BC).
Ok! I don't think I ever supported that, I think It was an error in the README.md but I can add support for both formats easily.
README.md
dariomncs
No branches or pull requests
https://mikro-orm.io/docs/usage-with-nestjs
The adapter forFeature is incorrectly documented.
The documentation shows
When it should be
The text was updated successfully, but these errors were encountered: