MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1rwm8sa/orm_comparison_2026/ob739us/?context=3
r/javascript • u/sonemonu • Mar 17 '26
36 comments sorted by
View all comments
Show parent comment
2
That was quick, nice, thanks.
I am by no means an expert on MikroORM. I did see though, that the way virtual fields are defined is also different now.
See https://mikro-orm.io/docs/define-entity and the defineEntity + class pattern.
And it appears that soft deletes also look a bit different now: https://mikro-orm.io/docs/guide/advanced#soft-delete-via-onflush-event
1 u/sonemonu Mar 18 '26 Thanks, updated.
1
Thanks, updated.
View all comments
Show parent comment
2
u/Wabwabb Mar 18 '26
That was quick, nice, thanks.
I am by no means an expert on MikroORM. I did see though, that the way virtual fields are defined is also different now.
See https://mikro-orm.io/docs/define-entity and the defineEntity + class pattern.
And it appears that soft deletes also look a bit different now: https://mikro-orm.io/docs/guide/advanced#soft-delete-via-onflush-event