-
Notifications
You must be signed in to change notification settings - Fork 65
Update discount example #618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
64bdf1a
to
5ca7e06
Compare
I think we might need to update https://github.com/Shopify/function-examples/blob/main/discounts/rust/discount/default/shopify.extension.toml.liquid as well with the new target name |
@@ -9,14 +9,14 @@ description = "t:description" | |||
|
|||
[[extensions.targeting]] | |||
target = "cart.lines.discounts.generate.run" | |||
input_query = "src/generate_cart_run.graphql" | |||
export = "generate-cart-run" | |||
input_query = "src/cart_lines_discounts_generate_run.graphql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice you didn't bump the api_version
in this file. Is that an oversight?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To unstable or 2025-07?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put the rust one on 2025-04 as well.
453944a
to
113321f
Compare
Update the discount examples to simplify exports and renames files to match target names.