We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36cca4d commit ae83817Copy full SHA for ae83817
graphql_client_codegen/src/generated_module.rs
@@ -112,6 +112,16 @@ impl GeneratedModule<'_> {
112
}
113
114
115
+ fn build_batch_query(variables: Vec<Self::Variables>) -> Vec<graphql_client::QueryBody<Self::Variables>> {
116
+ variables.into_iter().map(|variable|
117
+ graphql_client::QueryBody {
118
+ variables: variable,
119
+ query: #module_name::QUERY,
120
+ operation_name: #module_name::OPERATION_NAME,
121
+ }
122
+ ).collect()
123
+
124
125
126
))
127
0 commit comments