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

Support connect argument from MikroORM.init() #35

Closed
grimurd opened this issue Oct 12, 2021 · 1 comment
Closed

Support connect argument from MikroORM.init() #35

grimurd opened this issue Oct 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@grimurd
Copy link

grimurd commented Oct 12, 2021

Is your feature request related to a problem? Please describe.

When testing it can be useful to initial MikroORM without connecting to a database. MikroORM supports this through the connect argument in MikroORM.init().

Currently the nestjs module doesn't support this.

Describe the solution you'd like

Either add a argument to MikroORMModule.forRoot()/forRootAsync() or add it to the module options object.

@grimurd grimurd added the enhancement New feature or request label Oct 12, 2021
@B4nan
Copy link
Member

B4nan commented Feb 20, 2022

connect will be a regular configuration option too since v5.0.3 of the ORM (no changes in the nest adapter, just upgrade the ORM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants