https://kotlinlang.org logo
#graphql-kotlin
Title
# graphql-kotlin
g

Goregius

01/03/2020, 2:44 AM
I read about there being a client, is this planned to support multiplatform like how ktor does it? Because otherwise wouldn't apollo android with coroutines support be good enough for just jvm kotlin?
s

Shane Myrick

01/03/2020, 4:31 AM
@Goregius We do not have any official plans of adding a Kotlin client to the library but it has come up in discussion if we wanted to do more of the work in graphql-java in a pure Kotlin implementation. This would mean we could be open to multiplatform and if we have a schema and request parser then a client is easier thing to work on. This is all just discussion right now. Our clients at Expedia Group use Apollo Android today
g

Gerard Klijs

01/06/2020, 7:06 AM
A client is not that complicated through. It depends a lot on how you want to construct the queries. Most of the serialization can probably re-used from the server.
d

Dariusz Kuc

01/06/2020, 3:12 PM
well depends how complicated you want to make it
in the simplest form -> it is just a post/get request
much more useful gql client would also generate your data classes based on the queries
something even more advanced would allow for automatic persisted queries, etc
3 Views