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
I'm thinking of moving from typeorm to mikro-orm, but I already have a lot of entities defined, and some of them contain embedded entities.
Does mikro-orm 3.6 support this feature? If not, is there any workaround that I could use?
An example of embedded entity in typeorm looks like this:
export class Name { @Column() first: string; @Column() last: string; } @Entity() export class User { @PrimaryGeneratedColumn() id: string; @Column(type => Name) name: Name; @Column() isActive: boolean; }
The text was updated successfully, but these errors were encountered:
This is supported in v4, no plans to backport it. I'd say use v4, will be shipping RC probably during weekend, when I am back from vacation.
https://github.com/mikro-orm/mikro-orm/blob/dev/docs/docs/embeddables.md
Sorry, something went wrong.
Is there an example @B4nan? the link you put is down :)
NVM found it in the PR #514
No branches or pull requests
I'm thinking of moving from typeorm to mikro-orm, but I already have a lot of entities defined, and some of them contain embedded entities.
Does mikro-orm 3.6 support this feature? If not, is there any workaround that I could use?
An example of embedded entity in typeorm looks like this:
The text was updated successfully, but these errors were encountered: