Can apollo-android be used as a java client?

2019-02-25 03:40发布

问题:

I'm working on a spring boot app that needs to talk to the Github GraphQl API. Can apollo-android be used for this purpose? Since all of it's scarce documentation available as well as the sample project is written with android in mind, I'm not sure.

回答1:

maintainer here. You can absolutely use Apollo-Android in a java only project. There is only 1 module/artifact that is android specific which is not required. The android artifact simply brings in android specific threading models. Come join our slack if you need more help :-) http://www.apollostack.com/#slack



回答2:

Found this maven plugin. It would be nice if you could make a sample project that uses apollo-android in spring boot.