fix(promotion): validate rules accurately when attribute is scoped by context (#8655)

This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-08-19 15:38:42 +02:00
1 parent a66bd3bd6b
commit 4791d1d775
6 files changed
+66 -9

No files matched your search

@@ -56,7 +56,7 @@ medusaIntegrationTestRunner({
max_quantity: 1,
target_rules: [
{
attribute: "product_id",
attribute: "items.product_id",
operator: "eq",
values: "prod_tshirt",
},