Files
medusa-store/.changeset/good-moles-camp.md
T
Adrien de Peretti 90d7f4ff39 chore(utils): DML#hasOne allow mappedBy to not be defined (#10442)
RESOLVES FRMW-2826

**What**
We have many places where we define only one to one on one side of the relation. In that case it is a one to one that does not mapped by to the other side relation since it is not defined. This pr allow to create a one to one without mapped by. In order to remove breaking changes, in that case we ask the user to explicitly define the `mappedBy` as `undefined`
2024-12-05 09:31:38 +00:00

92 B

@medusajs/utils
@medusajs/utils
patch

chore(utils): DML#hasOne allow mappedBy to not be defined