relay-tools / react-relay-network-layer

ReactRelayNetworkLayer with middlewares and query batching for Relay Classic.
MIT License
277 stars 47 forks source link

Fix potential error in formatRequestErrors #27

Closed redjohn closed 7 years ago

redjohn commented 7 years ago

We're using Absinthe as our Relay backend, and due to a limitation in the way it parses the incoming queries, the column for an error's locations is unavailable. As a result, the error formatter errors due to the returned column being 0 (understandable, since that's not a valid column number). This change fixes that problem.

nodkz commented 7 years ago

Thanks!

nodkz commented 7 years ago

Bumped new version 1.3.7 with your changes.

redjohn commented 7 years ago

Great, thank you :+1: