-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: support MikroORM v6 #153
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fwiw, v6 is already supported, there are no required changes here, the peer dependency range should already allow stable v6 too (works fine with the realworld example)
Note for myself so I don't forget, we also need to rename the injection tokens for repositories (#106) for v6. |
something that needs to be considered for this PR is that import { MikroORM } from '@mikro-orm/postgresql'
@Injectable()
export class TestService {
constructor(private readonly orm: MikroORM) {}
} It would fail with the error You can work around this via one of the following:
|
BREAKING CHANGE:
MikroORM v6 and Nest.js v10 are now required. Also Node.js 18.12 is required.