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/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
  });