You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this, From what I can tell it's because the status code is 400 as GraphQL spec doesn't care much for status code, and returning 200s even if errors exist is perfectly fine.
However I think villus should be adjusted to handle this as well, as I would imagine it is common to return response codes other than 200
It appears that the
CombinedError
Object does not set thegraphqlErrors
property:The actual error is still accessible in the
response > body > errors
arrayExpected behaviour would be that the
graphqlErrors
property ofCombinedError
holds a array ofGraphQLError
objects.The text was updated successfully, but these errors were encountered: