GraphQLSwift / GraphQL

The Swift GraphQL implementation for macOS and Linux
MIT License
938 stars 72 forks source link

fix: correctly handle missing GraphQLError location/path on decode #119

Closed GNMoseke closed 1 year ago

GNMoseke commented 1 year ago

Small fix for the GraphQLError decoder that allows correctly decoding an error with a missing location or path field by defaulting to empty.

NeedleInAJayStack commented 1 year ago

LGTM! Thanks @GNMoseke!