Step 7 - Make a change to the task management collection
In order to verify that two-way sync is working, we need to make a change to the data in the collection.
Navigate to the Collections tab.
Click on the task management collection.
And click on the task model.
You can see all the objects that were synced from the TodoApp.
Let's make a change to the first task listed. Click on the "Edit" button on the task.
edit
Change the status to inProgress
.
You may notice that if you type it incorrectly, the editor will indicate an error after validating against the schema.
Once you have correctly changed the status, click on the "Save" button.
You should see that the status has been updated to inProgress
.
To see this change synced back to the TodoApp, navigate to the Syncs tab.
Once again, you may have to wait up to a minute to see the sync start.
When it does, you should see an incremental sync with one object successfully synced.
And if you go back to TodoApp (https://todo-app.lightyear.dev), you should see the task status has been updated.