Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Sync as named export #5705

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Expose Sync as named export #5705

merged 2 commits into from
Apr 5, 2023

Conversation

elle-j
Copy link
Contributor

@elle-j elle-j commented Apr 5, 2023

What, How & Why?

Sync was previously exposed via Realm.App.Sync but is now deprecated. This PR exposes Sync as a named export as such:

import { Sync } from "realm";

This closes #5649.

☑️ ToDos

  • 📝 Changelog entry

@cla-bot cla-bot bot added the cla: yes label Apr 5, 2023
@kraenhansen kraenhansen merged commit 3802b78 into main Apr 5, 2023
@kraenhansen kraenhansen deleted the lj/sync-named-export branch April 5, 2023 16:54
papafe added a commit that referenced this pull request Apr 13, 2023
* main: (41 commits)
  allow useQuery to filter or sort a collection by using a callback (#5513)
  Fix `realm.create` types and 'requiredProperties' on Realm.Object constructor (#5697)
  Fix return type of `App.allUsers` (#5708)
  Removed renamed file
  Remove console.log
  Fix README instructions and bump version
  Bump template versions
  Update Templates (#5702)
  Moved "submodules" wireit task to "postinstall"
  Set up typedoc for realm-react, realm-web (#5709)
  Prepare for vNext (#5711)
  Prepare for 12.0.0-alpha.2 (#5707)
  Build iOS prebuilds in release by default (#5710)
  Use the event.sender as assignee when preparing release
  Updated prepare release workflow to print PR url in summary
  Fixing lint error
  fix the template app links (#5701)
  Expose `Sync` as named export (#5705)
  Enable all tests after bad rebase (#5595)
  Clear test state flag (#5689)
  ...

# Conflicts:
#	packages/realm/src/Realm.ts
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose the Sync namespace as a named export
2 participants