Graphiql: Auto-completion of field arguments breaks as soon as aliases are involved

Created on 7 Nov 2016  ยท  5Comments  ยท  Source: graphql/graphiql

This is an example query:

{
  foo: human(| โ† <cursor is here>
}

As soon as I use an alias, GraphiQL stops auto-completing the field arguments.

help wanted

All 5 comments

@OlegIlyenko - thanks for the report :D Let me go investigate this if no one beats me to it.

This appears to be a bug in https://github.com/graphql/codemirror-graphql as it's not firing the onHasCompletion function inside of GraphiQL

Fixed via this PR: https://github.com/graphql/codemirror-graphql/pull/52 in codemirror-graphql

Wow, that was fast! Thanks a lot, @joelgriffith!

Closing this since the PR merged, but will get the chain of updated out soon :)

Was this page helpful?
0 / 5 - 0 ratings