Open dmitshur opened 7 years ago
AFAICT This is a bug in GraphiQL, upgrading the library to 11.2 gets rid of this issue (althogh the type is no longer displayed, but that was just a change upstream).
I'm running the latest version of GraphiQL. I've noticed if you comment your fields it will provide that in the description which is kind of nice.
An example is as follows;
# created is the date this product was created in YYYY-MM-DD format.
created: String!
Which is displayed as follows;
I was playing with the starwars example with the provided GraphiQL frontend, and noticed the following unexpected behavior. When using autocomplete to see the fields available, the type of each field is shown to be "undefined":
However, when hovering over the same field, it shows the type correctly:
I've previously used GitHub's GraphiQL Explorer at https://developer.github.com/v4/explorer/, which does not have this issue:
Is this a bug in GraphiQL, or is it some underlying issue in the GraphQL server or the starwars schema?