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

fixup shutdown api doc and changelog #617

Merged
merged 161 commits into from
May 31, 2022
Merged

fixup shutdown api doc and changelog #617

merged 161 commits into from
May 31, 2022

Conversation

blagoev
Copy link
Contributor

@blagoev blagoev commented May 29, 2022

fixup shutdown api doc,
add changelog,

nielsenko and others added 30 commits May 12, 2022 08:12
Only synchonous version for now, since async C-API doesn't allow userdata
This requires support for out-of-isolate callbacks. To do this a dart
specific EventLoopDispatcher and DispatchFreeUserdata is introduced.
Also, SubscriptionSet.remove* are now void methods, and corresponding
_RealmCore functions uses invokeGetBool.
When nothing is found we should return null on find. Hence we cannot use
invokeGetPointer, and also we need to pass null up the conversion stack.
* Add subscription tests to test_driver/realm_test.dart
* Allow network use from test_driver app on macos
The add method takes an optional update parameter, that default to
false. If true, the add will update the existing subscription if any.
Otherwise, it will fail if the subscription exists.
* remove is now called removeByQuery
* remove instead takes a Subscription as an argument
* removeAll is renamed to clear to match List.clear
* all remove* methods now returns a boolean indicating whether a
  subscription was removed
@blagoev blagoev changed the title fixup shutdown api, fixup shutdown api doc and changelog May 31, 2022
lib/src/realm_object.dart Outdated Show resolved Hide resolved
@blagoev blagoev requested a review from nielsenko May 31, 2022 09:35
Base automatically changed from blagoev/disable-logging to master May 31, 2022 17:04
# Conflicts:
#	CHANGELOG.md
#	common/lib/src/realm_types.dart
#	lib/src/configuration.dart
#	lib/src/realm_class.dart
#	test/session_test.dart
@blagoev blagoev merged commit 1618d9d into master May 31, 2022
@blagoev blagoev deleted the blagoev/fix-up-shutdown branch May 31, 2022 18:17
@blagoev blagoev restored the blagoev/fix-up-shutdown branch May 31, 2022 18:17
@blagoev blagoev deleted the blagoev/fix-up-shutdown branch May 31, 2022 18:21
@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.

5 participants