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

Add ShouldCompactOnLaunch to the PCL RealmConfig #1768

Merged
merged 4 commits into from
Sep 4, 2018
Merged

Conversation

nirinchev
Copy link
Member

@nirinchev nirinchev commented Sep 4, 2018

Description

Fixes https://github.com/realm/realm-dotnet-private/issues/125

TODO

  • Changelog entry
  • Update PCL (if applicable)

Copy link
Contributor

@kneth kneth left a comment

Choose a reason for hiding this comment

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

Any tests?

👍

@@ -9,7 +9,8 @@ for most certificates. Notably, it will now work out of the box for Realm Cloud

### Bug fixes
- When constructing queries that compare an invalid/unmanaged RealmObject (e.g. `realm.All<Foo>().Where(f => f.Bar == someBar)`),
a meaningful exception will now be thrown rather than an obscure ArgumentNullException.
a meaningful exception will now be thrown rather than an obscure ArgumentNullException.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please refer to the issues numbers.

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe that entry belongs to en earlier PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

We've stopped including issue/PR numbers in the .NET changelog a few versions ago. Let's discuss the pros/cons offline.

@nirinchev
Copy link
Member Author

@kneth we have tests for the functionality, but not for the existence of the API in a PCL project. This is somewhat similar to the React support library that realm-js has.

@nirinchev nirinchev merged commit d9309e5 into master Sep 4, 2018
@nirinchev nirinchev deleted the ni/compact-pcl branch September 4, 2018 08:57
nirinchev added a commit that referenced this pull request Jul 10, 2019
* master: (89 commits)
  Prepare for 4.0.1 (#1876)
  Fix iOS device builds (#1875)
  Prepare for 4.0.0 (#1868)
  Refactor packaging (#1849)
  Update CHANGELOG.md (#1828)
  Add session.stop/start methods (#1839)
  Prepare for 3.4.0 (#1826)
  Ensure GetInstanceAsync works with QBS config (#1827)
  Add ability to define custom log function (#1824)
  Add support for user agents (#1819)
  Bump Sync to 3.10.1 (#1772)
  Update ISSUE_TEMPLATE.md
  Release 3.3.0 (#1808)
  Expose SyncConfiguration.OnProgress (#1807)
  Throw an error when trying to call async subscription methods on background threads (#1783)
  Update CHANGELOG.md (#1777)
  Prepare for 3.2.1 (#1775)
  Fix subscription state size (#1774)
  Release 3.2.0 (#1769)
  Add ShouldCompactOnLaunch to the PCL RealmConfig (#1768)
  ...

# Conflicts:
#	Platform.PCL/Realm.PCL/Extensions/CollectionNotificationsExtensionsPCL.cs
#	Tests/Tests.Shared/CollectionTests.cs
@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.

3 participants