Hello all, Any one have used GraphQL with Android?
# android
m
Hello all, Any one have used GraphQL with Android?
😶 4
d
m
@Damian Zawadzki Thank you for your reply but the problem is like GraphQL not sending any HTTP Status code so how can i differentiate exceptions?
d
there is com.apollographql.apollo.api.Response with errors fields. each error has
Copy code
val customAttributes: Map<String, Any?> = emptyMap()
and im not sure, but possible http codes or any kind of error information is more about contract between you and your backend team.
e
if you have any questions about using the Kotlin API of Apollo Android, there is #apollo-android channel
as always, non-Kotlin-specific issues are better raised elsewhere (see CoC)
m
@ephemient No problem i have not join #apollo-android that's why i was not aware but from now i will take.