drupal-graphql/graphql

Disabling introspection breaks Explorer without a (very) helpful error message

acbramley opened this issue · 0 comments

If a server has introspection disabled, the explorer tab breaks with no apparent reasoning.

The console shows

Uncaught Error: Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: undefined.

We can detect this setting and provide a helpful message