Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can apollo-android be used as a java client?

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.

like image 392
muaazsaleem Avatar asked Jul 23 '17 10:07

muaazsaleem


2 Answers

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

like image 103
FriendlyMikhail Avatar answered Oct 05 '22 08:10

FriendlyMikhail


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

like image 44
Arash Avatar answered Oct 05 '22 07:10

Arash