-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indenting for aliases looks wrong #133
Comments
Hi Josh. Thanks for reporting this. This appears to be related to shorthand queries. If you use the query keyword the indentation works as expected, e.g.
I'll include a fix in an upcoming release. |
@jimkyndemeyer Thank you! I'll use query {} to fix this for now. Thank you for your fast response! |
The 2.0 alpha follows the latest GraphQL language draft spec as of June 2018. It should indent aliased fields correctly. See 2.0.0-alpha-2 if you'd like to try it and help test it. |
Confirmed this indents correctly with v2 alpha-7. |
When I use an alias in my graphql query it auto-formats to this:
when I expect it to look like this:
Am I missing a setting or something that would allow for my expected formatting?
The text was updated successfully, but these errors were encountered: