--- source: cynic-querygen/tests/github-tests.rs expression: "document_to_fragment_structs(query, schema,\n &QueryGenOptions::default()).expect(\"QueryGen Failed\")" --- #[derive(cynic::QueryFragment, Debug)] #[cynic(graphql_type = "Query")] pub struct PullRequestTitles { #[arguments(name: "cynic", owner: "obmarg")] pub repository: Option, } #[derive(cynic::QueryFragment, Debug)] pub struct Repository { #[arguments(orderBy: { direction: "ASC", field: "CREATED_AT" })] pub pull_requests: PullRequestConnection, } #[derive(cynic::QueryFragment, Debug)] pub struct PullRequestConnection { pub nodes: Option>>, } #[derive(cynic::QueryFragment, Debug)] pub struct PullRequest { pub title: String, }