menu
Channels
Team
Posts
Members
Info

How do I get the status code when the Apollo request fails?

I'm using the RxJava 2 wrapper.

thumbsup
1
message-simple
1

Has anyone added Apollo to an existing Android app that was previously using鈥

I'm mostly concerned about how I can map the code gen version of the Apollo responses to the existing model classes I already have. If I can do that, it's as easy as swapping out the repository class for a new one, but otherwise it's kind of tricky because the auto generated鈥

thumbsup
0
message-simple
3

How does Android Apollo support Union types?

I'm trying to retrieve items from a "Union" list that has items that are of different types. The generated response shows a list with just the field __typename. Anyone has any thoughts on how I can parse this and extract the objects that I need? Or is there a documentation鈥

thumbsup
1
message-simple
2

Apollo Coroutine Extension missing version 1.0 release

Got the exciting news about the full release of Apollo for Android version 1.0 this morning from Github :) Testing so far works fine. But thought I'll share here as reference the issue I had during updating (basically have to still use alpha5 for the "coroutine-support" to save鈥

thumbsup
0
message-simple
1

Any plans for the next release?

There's a bug in the current release that has been fixed in master(https://github.com/apollographql/apollo-android/commit/b2f3ef19ad46a2e1bcd997eca997f424c823d76b) that we are running into on alpha5, it would be great to see a new release to address this issue for us. Thanks for鈥

thumbsup
0
message-simple
3
R J15d

Is it possible to convert JsonString into apollo client generated class object?

Hi, I know by using apollo-client, we can totally remove need to manipulate json ourselves. But is there a way i can convert JsonString into apollo client generated class object. 鈥

thumbsup
1
message-simple
0

hi i have question about persisted query support in apollo-android

i can use persisted queries reference: https://github.com/apollographql/apollo-android/issues/1055 but how to use http GET to send request?

thumbsup
0
message-simple
2

Why does Rx2Apollo.from(query) return an observable, not a Single?

I couldn't follow the commit history for Rx2Apollo so pardon the dumb question: Why does Rx2Apollo.from(query) return an observable, not a Single? From javadoc: 鈥

thumbsup
0
message-simple
0

Authenticate subscription request

How i can add additional data to the request body for subcription request like this? {鈥渄ata鈥: {鈥渆xtensions鈥: {鈥渁uthorization鈥: 鈥<token here>鈥 鈥 鈥 鈥

thumbsup
0
message-simple
0

Checking whether a query is cached?

I am making a query which returns a list as the top level response. Is there any way that I can check whether that query is cached?

thumbsup
0
message-simple
1