Skip to content

GraphiQL Explorer Whitescreen #944

@justinlevi

Description

@justinlevi

Seeing the following error recently on a project

drupal.js?v=8.7.9:13 Uncaught Error: Must provide Array of types or a function which returns such an array for Union ViewResult.
    at n (bundle.min.js?v=8.7.9:1)
    at C (bundle.min.js?v=8.7.9:1)
    at e.getTypes (bundle.min.js?v=8.7.9:1)
    at o (bundle.min.js?v=8.7.9:1)
    at Array.reduce (<anonymous>)
    at new e (bundle.min.js?v=8.7.9:1)
    at i (bundle.min.js?v=8.7.9:1)
    at Object.attach (bundle.min.js?v=8.7.9:1)
    at drupal.js?v=8.7.9:25
    at Array.forEach (<anonymous>)
n @ bundle.min.js?v=8.7.9:1
C @ bundle.min.js?v=8.7.9:1
e.getTypes @ bundle.min.js?v=8.7.9:1
o @ bundle.min.js?v=8.7.9:1
e @ bundle.min.js?v=8.7.9:1
i @ bundle.min.js?v=8.7.9:1
attach @ bundle.min.js?v=8.7.9:1
(anonymous) @ drupal.js?v=8.7.9:25
Drupal.attachBehaviors @ drupal.js?v=8.7.9:22
(anonymous) @ drupal.init.js?v=8.7.9:16
t @ ready.min.js?v=1.0.8:4
setTimeout (async)
Drupal.throwError @ drupal.js?v=8.7.9:12
(anonymous) @ drupal.js?v=8.7.9:27
Drupal.attachBehaviors @ drupal.js?v=8.7.9:22
(anonymous) @ drupal.init.js?v=8.7.9:16
t @ ready.min.js?v=1.0.8:4

Debug mode is switched on and I'm not seeing anything else in the console. I'll keep digging in to try and figure out what's wrong with the schema.

Any tips or help on how to debug this is greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions