You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connect parameter is no longer accepted in the init method. (This was never used and connecting to the database didn't behave as necessarily expected in Cinnamon due to an oversight, this is fixed in the upcoming v0.2.0).
The type option being removed in favor of driver exports.
The driver package is now the preferred way to import everything. (This might be worth abstracting in Cinnamon to maintain some level of database agnosticism).
ref() vs wrap() (not necessarily for framework code, but for documentation)
Similarly for require() calls for Migrator, EntityGenerator and Seeder
Greater reliance on passing initialization options to Mikro-ORM.init. Will need to re-work or double check options for init and for config.
The text was updated successfully, but these errors were encountered:
SamJakob
added
the
p2
High Priority. To be addressed first during next project slot.
label
Nov 23, 2023
See: https://mikro-orm.io/docs/next/upgrading-v5-to-v6
Main issues expected to be:
connect
parameter is no longer accepted in theinit
method. (This was never used and connecting to the database didn't behave as necessarily expected in Cinnamon due to an oversight, this is fixed in the upcoming v0.2.0).type
option being removed in favor of driver exports.ref()
vswrap()
(not necessarily for framework code, but for documentation)require()
calls forMigrator
,EntityGenerator
andSeeder
Mikro-ORM.init
. Will need to re-work or double check options for init and for config.The text was updated successfully, but these errors were encountered: