Hey peeps,
I got a question. Does somebody know the confetti App? They are using Apollo graphQL an no Ktor. Anybody knows what the benefit is from one over the other? Is it because graphQL can replace Ktor and SqlDelight
m
mbonnin
07/11/2023, 11:06 AM
Apollo Kotlin and Ktor do not really compare.
• Apollo Kotlin is a GraphQL client
• Ktor is a HTTP client and server
mbonnin
07/11/2023, 11:08 AM
If you're talking frontend only, Apollo handles caching a bit differently with normalized caching which you can't really do with plain HTTP. But you can do HTTP response caching if you want
f
Farid Benhaimoud
07/11/2023, 11:14 AM
Ah ok. Thanks. I can see that in the confetti app Apollo is also used for caching user and token data.