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
2024-03-27 14:31:26 +00:00
committed by GitHub
parent e0b02a1012
commit 5d9aea053c
6 changed files with 108 additions and 23 deletions
@@ -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),
},
},
])