Skip to content

Commit 1274bdb

Browse files
committed
Merge branch 'main' into new-discounts-tutorial
2 parents 80734c5 + c82613f commit 1274bdb

File tree

186 files changed

+19948
-1877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+19948
-1877
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"rust-analyzer.linkedProjects": [
33
"checkout/rust/delivery-customization/default/Cargo.toml",
44
"checkout/rust/payment-customization/default/Cargo.toml",
5+
"checkout/rust/cart-transform/bundles/Cargo.toml",
56
"discounts/rust/order-discounts/default/Cargo.toml",
67
"discounts/rust/order-discounts/fixed-amount/Cargo.toml",
78
"discounts/rust/product-discounts/default/Cargo.toml",
@@ -11,4 +12,4 @@
1112
"sample-apps/discounts-tutorial/extensions/volume/Cargo.toml",
1213
"sample-apps/discounts/extensions/product-discount/Cargo.toml"
1314
]
14-
}
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "{{name | replace: " ", "-" | downcase}}"
3+
version = "1.0.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
serde = { version = "1.0.13", features = ["derive"] }
8+
serde_json = "1.0"
9+
shopify_function = { version = "0.2.3" }
10+
graphql_client = { git = "https://github.com/graphql-rust/graphql-client" }
11+
12+
[profile.release]
13+
lto = true
14+
opt-level = 'z'
15+
strip = true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
query Input {
2+
cart {
3+
lines {
4+
quantity
5+
}
6+
}
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"schemaVersions":{"cart_checkout_validation":{"major":1,"minor":0}}}

0 commit comments

Comments
 (0)