Autocomplete for required variables
See original GitHub issueI’ve just created a createUser
mutation and there are about 30 potential fields, around 20 are required.
As I type I get told that I’m missing lots of required fields like so:
I think it’d be nice for autocomplete to add all of the required input fields so you can change booleans and fill in strings really quick. Right now it’s a case of looking at the error tooltip and adding each of them manually
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Autocomplete Rule Variables - Oracle Help Center
These are the common variable types used in an autocomplete rule, which closely align with the standard variable data types.
Read more >HTML attribute: autocomplete - MDN Web Docs
The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in ...
Read more >Why VS Code IntelliSense for Python suggest autocomplete ...
Why VS Code IntelliSense for Python suggest autocomplete not for all variables of the same types? Ask Question. Asked 2 years, 3 months...
Read more >Autocomplete Widget - jQuery UI API Documentation
If autocomplete specific styling is needed, the following CSS class names can be ... When invoked with no parameters, the current input's value...
Read more >Autocomplete parameter options - Coda Pack SDK
The autocomplete function also has access to the values entered for previous parameters. Unlike in the execute function where these are passed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@intellix eek that’s painful. I can think of a couple of ways to help with this case - one is to add a button that fills all required fields with some temporary values (e.g. “” for strings, false for booleans, {} for objects, and etc).
Another is to automatically suggest variables when the query gets run, inferring from the default values for input types from your schema. Do your required fields have default values?
try graphiql 0.17.5 all graphql web IDE or electron clients use codemirror-graphql here in our repository, as far as i know