fix(utils): Mikro orm prop filtering should check existence (#6842)

**What**
- Should return non decorated but visible properties.
- Should only prevent circular on non scalar fields
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-03-27 14:31:26 +00:00
1 parent e0b02a1012
commit 5d9aea053c
6 files changed
+108 -23

No files matched your search

@@ -78,7 +78,6 @@ medusaIntegrationTestRunner({
ends_at: expect.any(String),
budget: {
id: expect.any(String),
campaign: expect.any(Object),
type: "spend",
limit: 1000,
used: 0,
@@ -108,7 +107,6 @@ medusaIntegrationTestRunner({
ends_at: expect.any(String),
budget: {
id: expect.any(String),
campaign: expect.any(Object),
type: "usage",
limit: 1000,
used: 0,
@@ -148,7 +146,6 @@ medusaIntegrationTestRunner({
created_at: expect.any(String),
budget: {
id: expect.any(String),
campaign: expect.any(Object),
},
},
{
@@ -157,7 +154,6 @@ medusaIntegrationTestRunner({
created_at: expect.any(String),
budget: {
id: expect.any(String),
campaign: expect.any(Object),
},
},
])