@mikro-orm/core
Advanced tools
Comparing version 6.3.14-dev.12 to 6.3.14-dev.13
@@ -72,2 +72,5 @@ "use strict"; | ||
if (prop.customType?.ensureComparable(meta, prop) && data[prop.name]) { | ||
if ([enums_1.ReferenceKind.MANY_TO_ONE, enums_1.ReferenceKind.ONE_TO_ONE].includes(prop.kind) && Utils_1.Utils.isPlainObject(data[prop.name])) { | ||
data[prop.name] = Utils_1.Utils.getPrimaryKeyValues(data[prop.name], prop.targetMeta.primaryKeys, true); | ||
} | ||
data[prop.name] = prop.customType.convertToDatabaseValue(data[prop.name], this.platform, { key: prop.name, mode: 'hydration' }); | ||
@@ -74,0 +77,0 @@ } |
{ | ||
"name": "@mikro-orm/core", | ||
"version": "6.3.14-dev.12", | ||
"version": "6.3.14-dev.13", | ||
"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.", | ||
@@ -67,5 +67,5 @@ "main": "index.js", | ||
"globby": "11.1.0", | ||
"mikro-orm": "6.3.14-dev.12", | ||
"mikro-orm": "6.3.14-dev.13", | ||
"reflect-metadata": "0.2.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1073062
23876
+ Addedmikro-orm@6.3.14-dev.13(transitive)
- Removedmikro-orm@6.3.14-dev.12(transitive)
Updatedmikro-orm@6.3.14-dev.13