`q.withAlias("alias").field();` produces the graphql: `field_alias: field` I'd expect it to produce `alias: field` See startField() https://github.com/Shopify/graphql_java_gen/blob/master/support/src/main/java/com/shopify/graphql/support/Query.java#L66