Skip to content
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

[BUG] query field within query Query is improperly indented #2073

Closed
7coil opened this issue Dec 22, 2022 · 3 comments
Closed

[BUG] query field within query Query is improperly indented #2073

7coil opened this issue Dec 22, 2022 · 3 comments
Labels

Comments

@7coil
Copy link

7coil commented Dec 22, 2022

Describe the bug
All instances of the keyword query is un-indented.
This is a visual issue only and does not affect sending/receiving GraphQL requests.

To Reproduce
Type any of the following queries into the Query textarea

query {
  query {
    example
  }
}
query {
  uiapi {
    query {
      JustPutAnythingHereYouLike
    }
  }
}

Expected behavior
Only the first instance of query should have the ► (Send query) button and fully un-indented.

Screenshots
Altair_GraphQL_Client_q5JyZL5jPP
Altair_GraphQL_Client_MUwBoMwmum

Desktop (please complete the following information):

  • OS: Microsoft Windows 10 21H2 19044.2311
  • Platform: Electron
  • Version: 5.0.9.0

Additional context
The query field within the query Query is used by the GraphQL Salesforce API.

@imolorhe
Copy link
Collaborator

Created a PR to fix this upstream graphql/graphiql#2995

@imolorhe
Copy link
Collaborator

This should be fixed in v5.0.12?

@7coil
Copy link
Author

7coil commented Jan 24, 2023

Just updated; it looks like it's fixed 🎉

Thanks a lot - I didn't know this was an upstream bug so thanks for triaging this properly.

@7coil 7coil closed this as completed Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants