aerogear / offix-android

Apollo GraphQL offline extensions for Android Platform
https://android.offix.dev
Apache License 2.0
37 stars 16 forks source link

Query on Conflict error message. #93

Closed Lavanyagaur22 closed 5 years ago

Lavanyagaur22 commented 5 years ago

Actually, have a doubt regarding the error json response. Are the keys serverdata and clientdata going to remain the same in every conflict message irrespective of the server used?

Screenshot 2019-07-31 at 6 26 34 PM
wtrocki commented 5 years ago

Yes. Please check https://offix.dev/#/ref-conflict-server for more info

Lavanyagaur22 commented 5 years ago

Yes, so this library is going to work with this type of structure for conflicts only. So we can parse it according to the defined structure.

wtrocki commented 5 years ago

yes.. This is the contract we have made and document for users and it will not change.