machinebox / graphql

Simple low-level GraphQL HTTP client for Go
https://blog.machinebox.io/a-graphql-client-library-for-go-5bffd0455878
Apache License 2.0
933 stars 217 forks source link

Document not requiring the data field when unmarshalling the response #35

Closed jasonmccallister closed 4 years ago

jasonmccallister commented 5 years ago

I spent a good amount of time troubleshooting this and it could use some documentation, the response struct does not need the data field as client.Run expects GraphQL will always return data.