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 authored and GitHub committed 2024-11-05 14:14:28 +00:00
1 parent bbf4af1725
commit 879ce33090
3 files changed
+13 -34

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/utils": patch
---
fix(utils/dml): set-relationship graphql generator from DML wrong managed belongsTo