--- source: cynic-querygen/tests/github-tests.rs expression: "document_to_fragment_structs(query, schema,\n &QueryGenOptions::default()).expect(\"QueryGen Failed\")" --- #[derive(cynic::QueryFragment, Debug)] pub struct Node { pub __typename: String, pub id: cynic::Id, } #[derive(cynic::QueryFragment, Debug)] #[cynic(graphql_type = "Query")] pub struct UnnamedQuery { #[arguments(ids: ["123"])] pub nodes: Vec>, } #[derive(cynic::InlineFragments, Debug)] pub enum Node { Node(Node), #[cynic(fallback)] Unknown }