From c617016813e02ad6ce6faad4836285464a2a63ef Mon Sep 17 00:00:00 2001 From: David Cameron Date: Wed, 8 Oct 2025 22:05:58 -0400 Subject: [PATCH 1/2] Allow empty config --- order-routing/rust/fulfillment-constraints/default/src/run.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/order-routing/rust/fulfillment-constraints/default/src/run.rs b/order-routing/rust/fulfillment-constraints/default/src/run.rs index f48c4d21..37b235c8 100644 --- a/order-routing/rust/fulfillment-constraints/default/src/run.rs +++ b/order-routing/rust/fulfillment-constraints/default/src/run.rs @@ -4,6 +4,7 @@ use shopify_function::Result; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Default, PartialEq)] +#[allow(dead_code)] struct Config {} #[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")] From 2e660b764818fc001bdcda73e0b53bb76118f759 Mon Sep 17 00:00:00 2001 From: David Cameron Date: Wed, 8 Oct 2025 22:08:19 -0400 Subject: [PATCH 2/2] Allow empty configs --- checkout/rust/cart-checkout-validation/default/src/run.rs | 1 + .../local-pickup-delivery-option-generators/default/src/run.rs | 1 + order-routing/rust/location-rules/default/src/run.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/checkout/rust/cart-checkout-validation/default/src/run.rs b/checkout/rust/cart-checkout-validation/default/src/run.rs index ca0fef5d..1e8f6fd2 100644 --- a/checkout/rust/cart-checkout-validation/default/src/run.rs +++ b/checkout/rust/cart-checkout-validation/default/src/run.rs @@ -4,6 +4,7 @@ use shopify_function::Result; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Default, PartialEq)] +#[allow(dead_code)] struct Config {} #[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")] diff --git a/order-routing/rust/local-pickup-delivery-option-generators/default/src/run.rs b/order-routing/rust/local-pickup-delivery-option-generators/default/src/run.rs index e7841ced..4cf4710a 100644 --- a/order-routing/rust/local-pickup-delivery-option-generators/default/src/run.rs +++ b/order-routing/rust/local-pickup-delivery-option-generators/default/src/run.rs @@ -4,6 +4,7 @@ use shopify_function::Result; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Default, PartialEq)] +#[allow(dead_code)] struct Config {} #[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")] diff --git a/order-routing/rust/location-rules/default/src/run.rs b/order-routing/rust/location-rules/default/src/run.rs index 1504530d..bd231d71 100644 --- a/order-routing/rust/location-rules/default/src/run.rs +++ b/order-routing/rust/location-rules/default/src/run.rs @@ -4,6 +4,7 @@ use shopify_function::Result; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Default, PartialEq)] +#[allow(dead_code)] struct Config {} #[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")]