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
If the server returns an non-empty string as message
Response
CombinedError
If the server returns an empty string as message
Response
CombinedError
It is likely an issue with the condition within rehydrateGraphQlError. When error.message is an empty string, error.message is falsy, leading to return new GraphQLError(error as any) even though error has the structure of a GraphQLError.
Describe the bug
If the server returns an non-empty string as
message
Response
CombinedError
If the server returns an empty string as
message
Response
CombinedError
It is likely an issue with the condition within rehydrateGraphQlError. When
error.message
is an empty string,error.message
is falsy, leading toreturn new GraphQLError(error as any)
even thougherror
has the structure of a GraphQLError.Reproduction
https://github.com/koutaro-masaki/urql-issue-reproduction
Urql version
urql v4.1.0
Validations
The text was updated successfully, but these errors were encountered: