Hi. Do you know de facto standard library for Grap...
# graphql
s
Hi. Do you know de facto standard library for GraphQL Client + Kotlin? I found some libraries from official document (https://graphql.org/code/#java-kotlin-client). I'd like to know if there are other libraries. And I’d like to compare multiple libraries.
d
Unsure if there is such thing as "standard lib" but I believe Apollo Android is the most popular one. Disclaimer: I'm one of the authors of the
graphql-kotlin
lib
👍 3
s
That is a pretty good list of some of the libraries that work with Kotlin and client generation. Netflix also released the Domain Graph Service (DGS) framework recently and it has a client as well: https://github.com/Netflix/dgs-framework I'm also one of the authors of the 
graphql-kotlin
 lib
👍 1
graphql-kotlin
client libs are more focused on providing a minimal client rather than fully featured client with caching, client side graphs, built-in file uploads, etc. You definitely can do all those things but they don't come included.
s
Thank you to reply :) I'll read both of documents.
m
What do you consider part of a "standard library" for graphql?
a
There is also this library: https://github.com/americanexpress/nodes It is a fairly straight forward client and is used similar to Spring RestTemplate and I’ve used it a few times. It is good for basic examples but we found for more complicated things that we had to use Apollo Android that Dariusz recommended. In short Apollo Android is good 🙂
👍 1