fix(utils/dml): set-relationship graphql generator from DML wrong managed belongsTo (#9932)

**What**
Currently, when setting a `belongsTo` relationship on the DML with the otherside being `hasMany` it result in a wrongly generated gql output making the belongs to being a collection of the relation instead of the relation directly. This pr fixes this issue
This commit is contained in:
Adrien de Peretti
2024-11-05 14:14:28 +00:00
committed by GitHub
parent bbf4af1725
commit 879ce33090
3 changed files with 13 additions and 34 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/utils": patch
---
fix(utils/dml): set-relationship graphql generator from DML wrong managed belongsTo