Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion shopify_function_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ proc-macro = true
[dependencies]
syn = { version = "1.0", features = ["full"] }
quote = "1.0"
proc-macro2 = "1.0.94"
proc-macro2 = "1.0.95"
convert_case = "0.8.0"
graphql_client_codegen = "0.14.0"
4 changes: 2 additions & 2 deletions shopify_function_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ fn extract_shopify_function_return_type(ast: &syn::ItemFn) -> Result<&syn::Ident
///
/// The macro takes the following parameters:
/// - `query_path`: A path to a GraphQL query, whose result will be used
/// as the input for the function invocation. The query MUST be named "Input".
/// as the input for the function invocation. The query MUST be named "Input".
/// - `schema_path`: A path to Shopify's GraphQL schema definition. Use the CLI
/// to download a fresh copy.
/// - `target` (optional): The API-specific handle for the target if the function name does not match the target handle as `snake_case`
Expand Down Expand Up @@ -395,7 +395,7 @@ pub fn shopify_function_target(
///
/// The macro takes the following parameters:
/// - `query_path`: A path to a GraphQL query, whose result will be used
/// as the input for the function invocation. The query MUST be named "Input".
/// as the input for the function invocation. The query MUST be named "Input".
/// - `schema_path`: A path to Shopify's GraphQL schema definition. Use the CLI
/// to download a fresh copy.
/// - `extern_enums` (optional): A list of Enums for which an external type should be used.
Expand Down