graphql-go
An implementation of GraphQL for Go / Golang (by graphql-go)
genqlient
a truly type-safe Go GraphQL client (by Khan)
Our great sponsors
graphql-go | genqlient | |
---|---|---|
11 | 6 | |
9,714 | 980 | |
0.8% | 3.5% | |
2.8 | 6.7 | |
15 days ago | 21 days ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-go
Posts with mentions or reviews of graphql-go.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-25.
-
Who moved my error codes? Adding error types to your GoLang GraphQL Server
And gqlgen is not alone in this. We found several more GraphQL frameworks that don’t take it upon themselves to address this problem. Widely used GraphQL server implementations, such as graphql-go/graphql and Python’s graphene, have the exact same gap of exposing messages of unexpected errors by default.
-
“Go is hard to justify unless at massive scale”
I have briefly looked into this and leaning towards GraphQL Go but don't yet know how it'll all come together. I'd prefer to stick with GraphQL if I can without it getting messy.
-
Am I being too picky when looking for a graphql tutorial?
The tutorial uses the https://github.com/graphql-go/graphql
-
What I've learned this week?
graphql-go. I use this to help me to implement the GraphQL.
-
What's your experience with Go and GraphQL? Learning Go coming from Node
I've done a bit of research and have found 99designs/gqlgen and graphql-go/graphql but I would like to hear from your experience.
-
State of GraphQL packages in 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
-
Graphql with Golang help
Best resource for learning stuff is the docs imo. The most popular library currently for graphql in Go is this one GitHub graphql-go/graphql.
-
What is the best or one of the best go library to implement a server based on Graphql?
For my current project we use ent (https://entgo.it) + gqlgen and its a really nice combo. As well as the two other popular graphql libraries for go (https://github.com/graphql-go/graphql and https://github.com/graph-gophers/graphql-go), I’ve also kept my eyes on graphjin (https://github.com/dosco/graphjin) and thunder (https://github.com/samsarahq/thunder) but to me there is no reason to not use ent with gqlgen - it’s just so nice :)
-
Tried to Create Crud API Gin+Gorm+GraphQL(gqlgen)
gqlgen is GraphQL server library. There are some graphql libraries for golang such as graphql-go/graphql. But I selected gqlgen becuase I really like a point of generating code after I defined schema.
-
Learning Go: What I've learned in 9 months
A GraphQL server as an API Gateway for REST endpoints using graphql-go/graphql
genqlient
Posts with mentions or reviews of genqlient.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-01.
-
GitHub - Warashi/compgen: Compgen is a gqlgen plugin designed to simplify the generation of ComplexityRoot for gqlgen.
The client support in particular is currently very awkward. For instance, there's this discussion around Hasura in the Khan/genqlient repo: https://github.com/Khan/genqlient/issues/272
-
How to build a Snowflake API?
An example of a Snowflake API request using Go. This example uses the Go standard library, so it doesn’t require additional dependencies; however, in production, you could use a library like shurcooL/graphql or Khan/genqlient for stronger typing.
-
Should I use Ent?
I also use https://github.com/Khan/genqlient in tandam with it to generate strongly typed graphql clients. Here is a decent example of a golang CLI using it: https://github.com/superfly/flyctl/tree/master/gql
-
gqlclient: A GraphQL client and code generator for Go
You might also be interested in genqlient, which Khan Academy released earlier this year. It's closer to what you've done, though I don't think we support uploads because that isn't something we've needed to support.
-
There is already around a lite client Golang fo graphql?
If you want to just generate a client based on a schema, I highly recommend https://github.com/Khan/genqlient which we use at work.
-
State of GraphQL packages in Go?
Although it is supposedly not ready for production, I'm personally using https://github.com/Khan/genqlient from the Khan Academy folks.
What are some alternatives?
When comparing graphql-go and genqlient you can also consider the following projects:
jsonql - JSON query expression library in Golang.
graphql-go - GraphQL server with a focus on ease of use
gqlgen - go generate based graphql server library
graphql - graphql parser + utilities
graphql - Simple low-level GraphQL HTTP client for Go
thunder - ⚡️ A Go framework for rapidly building powerful graphql services
bramble - The Movio GraphQL Gateway
gojsonq - A simple Go package to Query over JSON/YAML/XML/CSV Data
graphql - GraphQL is a query language and execution engine tied to any backend service. [Moved to: https://github.com/graphql/graphql-spec]
rql - Resource Query Language for REST
graphql-client - A GraphQL Client for .NET Standard