Closed JoviDeCroock closed 10 months ago
Latest commit: 838cfa96abedf21ee3f9cc0789a626822b0ce4f1
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Fixes #3394
Summary
When an API returns
errors
as a non-array we have to still return the error, however we try to cast this to aGraphQLError
which does not work out. We add an additional check whether we are actually dealing with an array of errors so we can support this case.