crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Error highlighting and tooltips stopped working in Graphiql

Open rudism opened this issue 3 years ago • 1 comments

Running the built-in Graphiql used to provide error highlighting (red squiggles) and error tooltips against the graphql schema. It looked like this (this screenshot is from the Graphiql live demo):

image

It seems at some point this stopped working in Postgraphile. To make sure it wasn't just my project, I ran through the docker tutorial and the error highlighting and tooltips don't work when I hit that Graphiql instance either:

image

Autocomplete (and the explorer and docs when enabled) work OK, so the schema seems to be loading, it's just not doing the error highlighting or tooltips.

rudism avatar Jul 29 '22 21:07 rudism

Unfortunately this was a bug in GraphiQL, but when it was fixed other updates to GraphiQL meant that we could not update to the new version without much effort. I'm focussed on PostGraphile V5 development currently (which has fixed this issue but has completely rebuilt PostGraphiQL in a non-backwards-compatible way) so this is certainly something someone else could take on of V4 but is not a priority for me.

benjie avatar Jul 30 '22 11:07 benjie

This is fixed in ruru

benjie avatar Jan 03 '23 15:01 benjie