fix(medusa): Reduce joins in cart retrieval (#3909)
* fix(medusa): Remove discounts.regions relation from cart retrieval * Create violet-poets-rule.md * fix service test * update snapshot --------- Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
935abeae68
commit
3b3236cc01
@@ -547,17 +547,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": Any<String>,
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
@@ -903,17 +896,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": "test-region",
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
@@ -1161,17 +1147,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": "test-region",
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
@@ -1417,17 +1396,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": "test-region",
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
@@ -1750,17 +1722,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": Any<String>,
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
@@ -2205,17 +2170,10 @@ Object {
|
||||
"created_at": Any<Date>,
|
||||
"currency_code": "usd",
|
||||
"deleted_at": null,
|
||||
"fulfillment_providers": Array [],
|
||||
"gift_cards_taxable": true,
|
||||
"id": Any<String>,
|
||||
"metadata": null,
|
||||
"name": "Test region",
|
||||
"payment_providers": Array [
|
||||
PaymentProvider {
|
||||
"id": "test-pay",
|
||||
"is_installed": true,
|
||||
},
|
||||
],
|
||||
"tax_code": null,
|
||||
"tax_provider_id": null,
|
||||
"tax_rate": 12.5,
|
||||
|
||||
Reference in New Issue
Block a user