Apollo client with Android obfuscation

Hi,
We are using Android Studio when working on an Android project. We had instal the Apollo plugin. In the project we use the obfuscation. In a regular REST network request, when some object send to a server we have to use special annotation for object’s fields. This annotation is used to send the correct field name (not obfuscated) to the server.
Since Apollo generates objects that are sent to the server, do we need to take care of storing the field name correctly, or will Apollo take care of that automatically?

Hi :wave:

Because Apollo doesn’t use reflection, you shouldn’t need any annotation or specific proguard rules. The models can be minimized and the parsers will still be able to parse your json accordingly.

Thank you for the answer

Nice, thanks💙 ! I opened this issue so that we have it in Github too