Formatting this query: ```graphql query ($first: Int, $second: Int) { field1(first: $first) field2(second: $second) } ``` returns this result: ```graphql query { field1(first: $first) field2(second: $second) } ``` Test code: ```rust use graphql_parser::parse_query; fn main() { let ast = parse_query::<&str>( "\ query ($first: Int, $second: Int) { field1(first: $first) field2(second: $second) }", ) .unwrap(); // Format canonical representation println!("{}", ast); } ``` And I think the culprit is here: https://github.com/graphql-rust/graphql-parser/blob/master/src/query/format.rs#L156