@mikro-orm/core 7.0.0-dev.73 → 7.0.0-dev.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.74",
|
|
5
5
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./package.json": "./package.json",
|
package/utils/Configuration.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare const DEFAULTS: {
|
|
|
72
72
|
readonly upsertManaged: true;
|
|
73
73
|
readonly forceEntityConstructor: false;
|
|
74
74
|
readonly forceUndefined: false;
|
|
75
|
-
readonly processOnCreateHooksEarly:
|
|
75
|
+
readonly processOnCreateHooksEarly: true;
|
|
76
76
|
readonly ensureDatabase: true;
|
|
77
77
|
readonly ensureIndexes: false;
|
|
78
78
|
readonly batchSize: 300;
|
|
@@ -643,7 +643,7 @@ export interface Options<Driver extends IDatabaseDriver = IDatabaseDriver, EM ex
|
|
|
643
643
|
/**
|
|
644
644
|
* Property `onCreate` hooks are normally executed during `flush` operation.
|
|
645
645
|
* With this option, they will be processed early inside `em.create()` method.
|
|
646
|
-
* @default
|
|
646
|
+
* @default true
|
|
647
647
|
*/
|
|
648
648
|
processOnCreateHooksEarly?: boolean;
|
|
649
649
|
/**
|
package/utils/Configuration.js
CHANGED