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

This commit is contained in:
Riqwan Thamir
2024-08-19 15:38:42 +02:00
committed by GitHub
parent a66bd3bd6b
commit 4791d1d775
6 changed files with 66 additions and 9 deletions
@@ -56,7 +56,7 @@ medusaIntegrationTestRunner({
max_quantity: 1,
target_rules: [
{
attribute: "product_id",
attribute: "items.product_id",
operator: "eq",
values: "prod_tshirt",
},