So I set up the graphql server described here

Now, I want to generate android queries against this server using apollo android as per these instructions.

I've tried different folder configurations for the location of the generated schema against this sample server and no matter what I do I get an error at compile time saying "GraphQL schema file should contain a valid GraphQL introspection query result"

Any advice?

1

There are 1 answers

2
Senkwe On BEST ANSWER

Turns out the solution is to use the apollo-codegen cli command and not apollo schema:download