menu
Apollo

# Apollo Android

All things Apollo Android.

Posts
Members
Search

Unable to download schema.json

I am unable to download schema.json file from my local server host by using this command : - apollo introspect-schema http://localhost:4000/graphql --output schema.json Can anyone please help me out as to how to download the schema file?

thumbsup
0
message-simple
1

How to generate shared reusable submodels between multiple queries?

We have Image objects that is part of several queries that we use. By default these Image-submodels will be generated nested in each response model (CategoryQuery.Image, DetailsQuery.Image,...). The problem here is that we want the image object to be parsed into the same…

thumbsup
0
message-simple
2

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
2

Fragments on Query do not work

Overview When creating a fragment on the Query object, the auto-generated Java class for the query does not generate the fragment and fails to build. Query …

thumbsup
2
message-simple
0

Apollo Android without code generation

Is it possible to use all the GraphQL client features but with hand-crafted response classes? The code generation is one of things which scares developers away, and they have to resort to manually accessing our endpoints using things like…

thumbsup
1
message-simple
2

How do I go about instrumentation testing in Android with Mocked data?. My…

Currently, the Project's tests are highly unstable. They fail any time the data from the backend changes and whenever our server or internet connection is down. This why we are considering mocking

thumbsup
2
message-simple
2

Getting a fix merged

Was hoping to get a bump on getting this PR merged and a new client released. This fixes an issue we've seen repeatedly in production. Thank you. https://github.com/apollographql/apollo-android/pull/1214 -- Daniel R. …

thumbsup
0
message-simple
0

I'm having some trouble getting my project to compile when using it for a…

Using apollo-android in a minecraft mod to fetch data from an API. https://hastebin.com/tumexuzizu.cs Here's my build.gradle https://hastebin.com/odagowomim.rb Here's the compiler error. It looks like it's unable to locate my classes despite them being in the classpath.

thumbsup
0
message-simple
1