Skip to content

Conversation

LucDeCaf
Copy link
Contributor

@LucDeCaf LucDeCaf commented Dec 6, 2024

Implementation of the SyncStatus.connecting flag in the Dart SDK as SyncStatus.connecting() and SyncStatusOptions.connecting?: boolean in SyncStatusOptions.

NB: If connected === true then connecting === false always.

Copy link

changeset-bot bot commented Dec 6, 2024

🦋 Changeset detected

Latest commit: baf3cba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@powersync/common Minor
@powersync/op-sqlite Patch
@powersync/react-native Patch
@powersync/tanstack-react-query Patch
@powersync/web Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@LucDeCaf LucDeCaf marked this pull request as draft December 6, 2024 15:38
@LucDeCaf
Copy link
Contributor Author

LucDeCaf commented Dec 6, 2024

Putting this here for myself later.

TODOS (all done now)

  • Find all modifications to SyncStatus.connected and check if SyncStatus.connecting should also be modified
  • Find all places where the shape of SyncStatus is important and check if it supports SyncStatus.connecting
  • Build package and test SyncStatus.connecting

@LucDeCaf LucDeCaf marked this pull request as ready for review December 9, 2024 12:28
@stevensJourney stevensJourney self-requested a review February 4, 2025 08:22
Copy link
Collaborator

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it's working perfectly. Thanks for this!

@stevensJourney stevensJourney merged commit 0606ac2 into powersync-ja:main Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants