Thursday, 30 May 2019

Android Apollo Generic Scalar custom adapter

I am using Android Apollo GraphQL client https://github.com/apollographql/apollo-android

I am trying to deserialize and serialize a Json Object coming in as a GENERICSCALAR type. I am not able to add a customAdapter for the same. I did one similar for DateTime type and it works fine. Can anyone share their custom adapter code and also what do I need to add in the customTypeMapping in build.gradle. Thank you.



from Android Apollo Generic Scalar custom adapter

No comments:

Post a Comment