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`
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/utils": patch
|
||||
---
|
||||
|
||||
chore(utils): DML#hasOne allow mappedBy to not be defined
|
||||
Reference in New Issue
Block a user