- Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
bugSomething isn't workingSomething isn't working
Description
query.graphql:
query Q { a { ...BFragment } } fragment BFragment on TypeOne { b { ...AFragment } } fragment AFragment on TypeTwo { c }schema.graphql:
type Query { a: [TypeOne] } type TypeOne { b: [TypeTwo] } type TypeTwo { c: Int! }during compiling:
Compiling graphql_client v0.8.0 (<local_storage>\graphql-client\graphql_client) error[E0412]: cannot find type `AFragment` in this scope --> graphql_client\tests\fragment_complex_chain.rs:4:10 | 4 | #[derive(GraphQLQuery)] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `BFragment` error: aborting due to previous errorIs this my mistake? The actual query that i've tried works on server side but not library.
Maybe related to #286, The test on this issue was done on master branch(183489e). and 0.8 shows same error.
Ten0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working