Crate shopify_function_macro

Source

Attribute Macros§

shopify_function
Generates code for a Function. This will define a wrapper function that is exported to Wasm. The wrapper handles deserializing the input and serializing the output.
typegen
Generates Rust types from GraphQL schema definitions and queries.

Derive Macros§

Deserialize
Derives the Deserialize trait for structs to deserialize values from shopify_function_wasm_api::Value.