Skip to content

Feature Request: Version label in the Sync success callback #23

Description

@shiv19

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions