Closed
Description
I've noticed that all the app-sync updates get published with a label v1, v2, v3..
and so on,
it would be nice to receive this label as the 2nd parameter on the AppSync.sync()
's success callback.
AppSync.sync({ ... }, (syncStatus, updateLabel) => {
if (syncStatus === SyncStatus.UP_TO_DATE) {
console.log("AppSync: up to date", updateLabel);
} else if (syncStatus === SyncStatus.UPDATE_INSTALLED) {
console.log("AppSync: update installed", updateLabel);
}
});
If not, it would be nice to let the developer pass a version tag during the release that gets returned here.
EddyVerbruggen