kadirahq / lokka-transport-http

HTTP Transport Layer for Lokka
MIT License
41 stars 38 forks source link

No Documentation of `originalData`/`originalError` #28

Open machineghost opened 6 years ago

machineghost commented 6 years ago

There is no documentation about originalData or originalError (I had to read the source to find them), which makes it seem like Lokka completely swallows all error details (including any returned data) except the name of the very first error. In fact, I'm pretty sure this issue: https://github.com/kadirahq/lokka-transport-http/issues/19 is complaining about exactly that.

The:

are all relevant/legitimate parts of the GraphQL standard, and any GraphQL library should expose, not swallow them. Lokka does exactly that, but without any documentation it appears to users that it doesn't.