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/writer.js
CHANGED
|
@@ -1271,7 +1271,7 @@ var WriterImplBase = class _WriterImplBase {
|
|
|
1271
1271
|
this.entDefinitions,
|
|
1272
1272
|
this.table
|
|
1273
1273
|
)[key];
|
|
1274
|
-
if (edgeDefinition === void 0) {
|
|
1274
|
+
if (edgeDefinition === void 0 || edgeDefinition.cardinality === "single" && edgeDefinition.type === "field" && edgeDefinition.field === key) {
|
|
1275
1275
|
fields[key] = value[key];
|
|
1276
1276
|
}
|
|
1277
1277
|
});
|