Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Dude to readability and friendliness being my biggest concern, I decided to use https://github.com/graphql-go/graphql. First drawback I noticed is that you don’t have the option for a playground baked into your server. I’ve been using hoppscotch for testing my operations as a workaround. Only real struggle I faced was dealing with nullable arguments, but I grew to realize that it’s more of a feature
Now I've seen many people recommending 99designs/gqlgen , but I noticed that it was very long ago that the repository had a very stall activity and is currently being discussed in this issue https://github.com/99designs/gqlgen/issues/1571
I have always preferred https://github.com/graph-gophers/graphql-go. I still write my definitions in .graphql files and pese them with the library. Then you can easily write resolvers or just return model objects if they match the definitions.
https://github.com/movio/bramble is pretty great if you want a gateway
I use https://github.com/ccbrown/api-fu. Disclaimer: I also wrote and maintain it.
Although it is supposedly not ready for production, I'm personally using https://github.com/Khan/genqlient from the Khan Academy folks.
Related posts
- Who moved my error codes? Adding error types to your GoLang GraphQL Server
- “Go is hard to justify unless at massive scale”
- What's your experience with Go and GraphQL? Learning Go coming from Node
- What is the best or one of the best go library to implement a server based on Graphql?
- Golang and graphql scalability