@mikro-orm/core 7.0.0-dev.103 → 7.0.0-dev.105
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 +1 -1
- package/utils/Configuration.js +1 -1
- package/utils/Utils.js +1 -1
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.105",
|
|
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.js
CHANGED
|
@@ -293,7 +293,7 @@ export class Configuration {
|
|
|
293
293
|
metadataCache.enabled ??= useCache;
|
|
294
294
|
this.options.clientUrl ??= this.platform.getDefaultClientUrl();
|
|
295
295
|
this.options.implicitTransactions ??= this.platform.usesImplicitTransactions();
|
|
296
|
-
if (metadataCache.enabled && !metadataCache.adapter) {
|
|
296
|
+
if (validate && metadataCache.enabled && !metadataCache.adapter) {
|
|
297
297
|
throw new Error('No metadata cache adapter specified, please fill in `metadataCache.adapter` option or use the async MikroORM.init() method which can autoload it.');
|
|
298
298
|
}
|
|
299
299
|
try {
|
package/utils/Utils.js
CHANGED
|
@@ -125,7 +125,7 @@ export function parseJsonSafe(value) {
|
|
|
125
125
|
}
|
|
126
126
|
export class Utils {
|
|
127
127
|
static PK_SEPARATOR = '~~~';
|
|
128
|
-
static #ORM_VERSION = '7.0.0-dev.
|
|
128
|
+
static #ORM_VERSION = '7.0.0-dev.105';
|
|
129
129
|
/* v8 ignore next */
|
|
130
130
|
static dynamicImportProvider = (id) => import(id);
|
|
131
131
|
/**
|