lHengl
(L Heng)
12
Hi @Caleb_Thompson ,
Here are my thoughts on the documentation…
Client Reset
The Client Resets page should link the reader back the Make Breaking Schema page. to avoid making the mistake in the first place.
Making Breaking Schema Changes
This page needs to be updated to take the reader through a step by step guide on how to correctly perform breaking changes in multiple ways:
- One way is through the development mode. What steps should be taken when relying on the client SDK to write the schema for you.
- The second way is through the Cloud Atlas App Services UI. What steps need to be taken in order for the change to take affect on all client. E.g. make the schema changes on Cloud Atlas, force manual resets by disabling and enabling the device sync in cloud atlas.
- The third way is through the partner collection (which is existing). The partner collection I feel is a more advanced topic. People who are reading the documentation are probably the ones like me who are just starting out, using the development mode. So it should be left to last.
Create a Data Model
This page explains how to create models from existing data and from realm objects created by the SDK. Because of this, new developers like me would be relying heavily on this method to generate the models. But what if this fails? How does one manage this? The following sections should be introduced:
- ‘Manually update App Services Schema’ section on or similar should be introduced to help developers rectify and modify their schema when things go awry like breaking changes.
- A note on ways to rectify the schema discrepancies. E.g. A simple way would be to delete the schema to force the client SDK to rewrite the schema during development.
That’s all for now. Hope to see some updates soon. Thanks!