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

Disallow realm migration on synced realms #3245

Merged
merged 10 commits into from
Sep 24, 2020
Merged

Conversation

fronck
Copy link

@fronck fronck commented Sep 21, 2020

What, How & Why?

Now throws an error when client requests a realm that is both synced and has deleteRealmIfMigrationNeeded enabled. These options are incompatible.

Added test that checks functionality.

This closes #RJS-755 / HELP-18006.

☑️ ToDos

  • 📝 Changelog entry
    * [ ] 📝 Compatibility label is updated or copied from previous entry
  • 🚦 Tests
    * [] 📝 Public documentation PR created or is not necessary
    * [ ] 💥 Breaking label has been applied or is not necessary

If this PR adds or changes public API's:
* [ ] typescript definitions file is updated

  • jsdoc files updated
    * [ ] Chrome debug API is updated if API is available on React Native

@fronck fronck requested review from kneth and blagoev September 21, 2020 11:27
@fronck fronck changed the title Ff/delete realm migration Disallow realm migration on synced realms Sep 21, 2020
@fronck fronck marked this pull request as draft September 21, 2020 12:20
@fronck fronck marked this pull request as ready for review September 21, 2020 16:00
CHANGELOG.md Outdated Show resolved Hide resolved
tests/js/realm-tests.js Outdated Show resolved Hide resolved
Copy link
Contributor

@blagoev blagoev left a comment

Choose a reason for hiding this comment

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

with minor change in the test

@fronck fronck merged commit 59ba7a4 into v10 Sep 24, 2020
@fronck fronck deleted the ff/delete_realm_migration branch September 24, 2020 07:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants