Skip to content

Commit 2e660b7

Browse files
committed
Allow empty configs
1 parent c617016 commit 2e660b7

File tree

3 files changed

+3
-0
lines changed
  • checkout/rust/cart-checkout-validation/default/src
  • order-routing/rust
    • local-pickup-delivery-option-generators/default/src
    • location-rules/default/src

3 files changed

+3
-0
lines changed

checkout/rust/cart-checkout-validation/default/src/run.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use shopify_function::Result;
44
use serde::{Deserialize, Serialize};
55

66
#[derive(Serialize, Deserialize, Default, PartialEq)]
7+
#[allow(dead_code)]
78
struct Config {}
89

910
#[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")]

order-routing/rust/local-pickup-delivery-option-generators/default/src/run.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use shopify_function::Result;
44
use serde::{Deserialize, Serialize};
55

66
#[derive(Serialize, Deserialize, Default, PartialEq)]
7+
#[allow(dead_code)]
78
struct Config {}
89

910
#[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")]

order-routing/rust/location-rules/default/src/run.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use shopify_function::Result;
44
use serde::{Deserialize, Serialize};
55

66
#[derive(Serialize, Deserialize, Default, PartialEq)]
7+
#[allow(dead_code)]
78
struct Config {}
89

910
#[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")]

0 commit comments

Comments
 (0)