genqlient
apollo-android
genqlient | apollo-android | |
---|---|---|
6 | 9 | |
990 | 3,672 | |
1.9% | 0.4% | |
6.7 | 9.8 | |
about 2 months ago | 7 days ago | |
Go | Kotlin | |
MIT License | MIT License |
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.
genqlient
-
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.
apollo-android
-
Migrating Netflix to GraphQL Safely
GraphQL queries are just HTTP POST queries with a JSON body. They're supported everywhere.
If you want specialized tooling for them, Kotlin and Swift both have great strongly-typed GraphQL libraries.
Apollo publishes libraries for both:
- https://www.apollographql.com/docs/kotlin/
- https://www.apollographql.com/docs/ios/
-
How to build a Snowflake API?
An example of a Snowflake API request using Java. This example uses Java’s built-in HttpClient and constructs JSON manually, so it doesn’t require additional dependencies; however, in production, you should use a library like Jackson for constructing JSON. Additionally, for stronger typing, you could use Apollo’s Kotlin-based GraphQL client.
-
Converting union type to Kotlin (Apollo GraphQL library)
Can you elaborate on what you are trying to do? Why do you generate those classes manually? If you are using Apollo Kotlin then it will generate your data classes based on your query.
-
Migrating Android to GraphQL Federation
We continue to rely on Apollo Kotlin (previously Apollo Android) as we migrate to Federation. It has evolved quite a bit since its creation and has been hugely useful to us, so it’s worth highlighting before jumping ahead.
-
Flutter vs Kotlin Multiplatform Mobile (not a holywar)
- found Flutter graphql is way ahead , even almost mature as Apollo for JS. apollo-kotlin is several miles behind, a lot of issues, absolutely inconvenient usage after graphql-flutter
- Java Spring Boot DTO Mapping in GraphQL
-
Introducing Apollo Kotlin
The announcement is at https://www.apollographql.com/blog/announcement/introducing-apollo-kotlin/ and the repo at https://github.com/apollographql/apollo-kotlin. Try it out and let us know what you think!
-
GraphQL - Diving Deep
Apollo Client does have a good integration with these frameworks including React, iOS and Android — so, you might want to check that out
-
Any good java graphql client suggestions ?
Hi 👋Martin from https://github.com/apollographql/apollo-android here. Can you ellaborate more on "created schema files are not serialized" ? For Android app, I usually recommend separating the persistence layer and the network models so that they're not coupled. But maybe it's different from a microservice?
What are some alternatives?
graphql-go - GraphQL server with a focus on ease of use
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
graphql-go - An implementation of GraphQL for Go / Golang
GraphQL Kotlin - Libraries for running GraphQL in Kotlin
graphql - Simple low-level GraphQL HTTP client for Go
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
gqlgen - go generate based graphql server library
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
bramble - A federated GraphQL API gateway
hexagon - Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform.
graphql - GraphQL is a query language and execution engine tied to any backend service. [Moved to: https://github.com/graphql/graphql-spec]
KGraphQL