Skip to content

Commit 23a36f0

Browse files
authored
Merge pull request #147 from Shopify/order-routing-location-rule-template
Add order-routing-location-rule template
2 parents 9b38425 + c031d01 commit 23a36f0

File tree

8 files changed

+3375
-0
lines changed

8 files changed

+3375
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
Cargo.lock
3+
.output.graphql
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", rev = "0776197ad7cfde2c658490e7c7e627a21ed622cb" }
11+
12+
[profile.release]
13+
lto = true
14+
opt-level = 'z'
15+
strip = true
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
query Input {
2+
fulfillmentGroups {
3+
id
4+
inventoryLocations {
5+
location {
6+
id
7+
}
8+
}
9+
}
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"schemaVersions":{"order_routing_location_rule":{"major":1,"minor":0}}}

0 commit comments

Comments
 (0)