Types for cart.lines not generated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
Research direction
Start at the generate_types! entry point and reproduce the issue with the shown query and schema paths, comparing paths with and without the leading ./ . Trace how those arguments resolve the GraphQL inputs; done when the cart.lines types are generated correctly for the documented paths.
Written by the indexing model from the issue text.
Description
Types for cart.lines not generated
query Input {
deliveryCustomization {
metafield(namespace: "$app:checkout-delivery-by-product-data", key: "function-configuration") {
value
}
}
cart {
lines {
cost {
totalAmount {
amount
}
}
}
deliveryGroups {
deliveryOptions {
title
handle
}
}
}
}
IDE output:
It works fine if I change query_path and schema_path to like this: (Note missing ./ before file name)
generate_types!(
query_path = "input.graphql",
schema_path = "schema.graphql"
);
- Dominant language
- Rust
- Stars
- 47
- Forks
- 9
- Avg merge
- 1h 53m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/shopify-function-rust
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Shopify/shopify-function-rust#169 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
Shopify/shopify-function-rust#132 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Shopify/shopify-function-rust#25 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in Shopify/shopify-function-rust
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·