(_input: input::ResponseData)
| 3 | |
| 4 | #[shopify_function_target(query_path = "src/run.graphql", schema_path = "schema.graphql")] |
| 5 | fn run(_input: input::ResponseData) -> Result<output::FunctionRunResult> { |
| 6 | let no_discounts = output::FunctionRunResult { |
| 7 | line_discounts: Some(vec![]), |
| 8 | displayable_errors: Some(vec![]), |
| 9 | }; |
| 10 | |
| 11 | Ok(no_discounts) |
| 12 | } |
| 13 | |
| 14 | #[cfg(test)] |
| 15 | mod tests { |
nothing calls this directly
no outgoing calls
no test coverage detected