-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Autocomplete makes aliasing quite difficult #123
Comments
@mike-marcacci 😂 "typing gymnastics".. Lmao! Sorry to hear that. We had a debate about that sometime ago, and it seems this settles that debate. I'd make the necessary changes to make it wait for you to select the autocomplete, even if it's the only option available. 😊 Cc @lon-io |
@mike-marcacci By the way, any other usability issues you find, I'd be happy to work on. 😁 |
Wonderful! 😁 Thanks for the great plugin, BTW. It's really saved me when working offline, since graphiql is too large to embed in an app's source, and referencing it precompiled from a CDN only works over a network. It's nice to have a proper graphql UI where it belongs – on my system. |
Yay!! 😁 Glad to hear that it's useful. |
@mike-marcacci So I'm curious, on what platform do you use Altair? The chrome extension or the desktop app? |
I only use the chrome extension. I actually didn't even know that there was a standalone app, since I found it in the chrome extension registry first and never looked back! |
If there is a similarly spelled field, is is impossible to type out an alias. For example, if I have root query fields
node
andfield2
it isn't possible to alias one asfoo: node(id: "xxx")
because typing the "f" in "foo" autocompletes to "field2".The only way to get the correct field is either with some typing gymnastics (starting to type "xxxfoo" then removing the "xxx") or copy-and-paste from another editor.
At the very least it should be possible to switch off autocomplete, while keeping the autosuggest functionality.
The text was updated successfully, but these errors were encountered: