Skip to content

Commit 685e522

Browse files
Merge pull request #165 from Shopify/app-owned-metafields
App owned metafields in templates and samples
2 parents eb32009 + 566029f commit 685e522

File tree

17 files changed

+21
-27
lines changed

17 files changed

+21
-27
lines changed

checkout/rust/delivery-customization/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
deliveryCustomization {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

checkout/rust/payment-customization/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
paymentCustomization {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

checkout/wasm/delivery-customization/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
deliveryCustomization {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

checkout/wasm/payment-customization/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
paymentCustomization {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/javascript/product-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/rust/order-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/rust/product-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/rust/shipping-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/wasm/order-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

discounts/wasm/product-discounts/default/input.graphql.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
query Input {
22
discountNode {
3-
metafield(namespace: "{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
3+
metafield(namespace: "$app:{{name | replace: " ", "-" | downcase}}", key: "function-configuration") {
44
value
55
}
66
}

0 commit comments

Comments
 (0)