State of GraphQL packages in Go?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • graphql-go

    An implementation of GraphQL for Go / Golang (by graphql-go)

  • 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

  • gqlgen

    go generate based graphql server library

  • 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

  • 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.

    InfluxDB logo
  • graphql-go

    GraphQL server with a focus on ease of use

  • 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.

  • bramble

    The Movio GraphQL Gateway

  • https://github.com/movio/bramble is pretty great if you want a gateway

  • api-fu

    A collection of Go packages for creating robust GraphQL APIs

  • I use https://github.com/ccbrown/api-fu. Disclaimer: I also wrote and maintain it.

  • genqlient

    a truly type-safe Go GraphQL client

  • Although it is supposedly not ready for production, I'm personally using https://github.com/Khan/genqlient from the Khan Academy folks.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts