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`
92 B
92 B
@medusajs/utils
| @medusajs/utils |
|---|
| patch |
chore(utils): DML#hasOne allow mappedBy to not be defined