Created
March 3, 2023 03:29
-
-
Save bloodf/536cdc2b7f2f83732fea05f13376c6c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: Failed to generate GraphQLQuery impl: Could not find file with path: /Users/heitor/Developer/github.com/ernesta-tech/shopify-apps/extensions/custom-size/../schema.graphql | |
Hint: file paths in the GraphQLQuery attribute are relative to the project root (location of the Cargo.toml). Example: query_path = "src/my_query.graphql". | |
--> src/main.rs:5:1 | |
| | |
5 | / generate_types!( | |
6 | | query_path = "../input.graphql", | |
7 | | schema_path = "../schema.graphql" | |
8 | | ); | |
| |_^ | |
| | |
= note: this error originates in the macro `generate_types` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error[E0433]: failed to resolve: use of undeclared crate or module `input` | |
--> src/main.rs:12:20 | |
| | |
12 | fn function(input: input::ResponseData) -> Result<output::FunctionResult> { | |
| ^^^^^ use of undeclared crate or module `input` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:12:51 | |
| | |
12 | fn function(input: input::ResponseData) -> Result<output::FunctionResult> { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:13:23 | |
| | |
13 | let no_discount = output::FunctionResult { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:15:40 | |
| | |
15 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `input` | |
--> src/main.rs:25:13 | |
| | |
25 | input::InputCartLinesMerchandise::ProductVariant(variant) => Some((line, variant)), | |
| ^^^^^ use of undeclared crate or module `input` | |
error[E0433]: failed to resolve: use of undeclared crate or module `input` | |
--> src/main.rs:26:13 | |
| | |
26 | input::InputCartLinesMerchandise::CustomProduct => None, | |
| ^^^^^ use of undeclared crate or module `input` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:29:32 | |
| | |
29 | .map(|(line, variant)| output::Discount { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:31:27 | |
| | |
31 | targets: vec![output::Target { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:32:39 | |
| | |
32 | product_variant: Some(output::ProductVariantTarget { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:37:20 | |
| | |
37 | value: output::Value { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:42:24 | |
| | |
42 | .collect::<Vec<output::Discount>>(); | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:51:8 | |
| | |
51 | Ok(output::FunctionResult { | |
| ^^^^^^ use of undeclared crate or module `output` | |
error[E0433]: failed to resolve: use of undeclared crate or module `output` | |
--> src/main.rs:53:40 | |
| | |
53 | discount_application_strategy: output::DiscountApplicationStrategy::FIRST, | |
| ^^^^^^ use of undeclared crate or module `output` | |
For more information about this error, try `rustc --explain E0433`. | |
error: could not compile `international-account-ext` due to 14 previous errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment