convex-ents 0.13.0-alpha.0 → 0.13.0-alpha.1
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/dist/functions.js +1 -1
- package/dist/functions.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/writer.js +1 -1
- package/dist/writer.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -666,7 +666,7 @@ var WriterImplBase = class _WriterImplBase {
|
|
|
666
666
|
this.entDefinitions,
|
|
667
667
|
this.table
|
|
668
668
|
)[key];
|
|
669
|
-
if (edgeDefinition === void 0) {
|
|
669
|
+
if (edgeDefinition === void 0 || edgeDefinition.cardinality === "single" && edgeDefinition.type === "field" && edgeDefinition.field === key) {
|
|
670
670
|
fields[key] = value[key];
|
|
671
671
|
}
|
|
672
672
|
});
|