graphql-client
graphql-client copied to clipboard
Now errors with path set to null can be normalized
Hello, I'm consuming a GraphQL-interface, which returns error-payloads like that:
{
"data": null,
"errors": [
{
"message": "error",
"path": null
}
]
}
This caused a NoMethodError: undefined method `each' for nil:NilClass This PR would fix the behavior.
thx and best regards
Hello! @jhawthorn a merge of this change would help me a lot!
thx and best regards
I hit this issue and was about to make a PR. Thanks @wuarmin.
Are there any planned releases?
Are there any planned releases?
That would be great! @jhawthorn @rmosolgo
This would also help me