menu
Channels
Team
Posts
Members
Info

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
2
message-simple
3

I am looking for sample apollo subscriptions in android app

thumbsup
0
message-simple
0

Apollo Android and normalized cache - checking of maxAge

It seems like Apollo Android client ignore Cache-Control: maxAge=... when we have enabled Normalized Disk Cache. Is it bug or should we do something special? Are there any support for cacheControl field in extensions in server…

thumbsup
0
message-simple
0

Any way to use apollo android client in an arbitrary mvn project?

Is it possible to setup a maven projects instead of gradle that can pull in the schema and do codegen just like the gradle setup? We're just using this library in an arbitrary java client.

thumbsup
0
message-simple
0

Apollo SQL

Looking at the example: https://github.com/apollographql/apollo-android/blob/master/apollo-sample/src/main/java/com/apollographql/apollo/sample/GitHuntApplication.java It appears that fromFieldArguments isn't modified to return a cache key. …

thumbsup
0
message-simple
0

How to handle UserInputError in Mutations?

Let's say there are three non-null input variables (email, password, key) in CreateUser mutation. The problem is even if i have wrong email or password, graphql-server shows me an error but my App doesn't. Whats should i do for handling this type of error? …

thumbsup
0
message-simple
0

I am trying to integrate Apollo in my existing Android App

Hi Guys, I am trying to integrate apollo with my android app to use Graphql Subscriptions. As a beginner to apollo, I was trying with the apollo-sample first . Query runs fine, but I cant subscribe - It keeps giving me EOFException! Screen Shot 2019-06-05 at 4.51.36 PM.png …

thumbsup
0
message-simple
0

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

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