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

fix: ensure correct contextName in forRootAsync #74

Merged
merged 1 commit into from
May 10, 2022

Conversation

tsangste
Copy link
Contributor

When using the forRootAsync module the contextName is not correctly being set which can cause MikroORM to retrieve the wrong context due to them all being called "Default".

Copy link
Member

@B4nan B4nan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@B4nan B4nan changed the title contextName not being set correctly with forRootAsync module registration fix: ensure correct contextName in forRootAsync May 10, 2022
@B4nan B4nan merged commit 4609e5d into mikro-orm:master May 10, 2022
@tsangste tsangste deleted the multiple_database_contextName branch May 10, 2022 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants