Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@shiv19

Description

@shiv19
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.