Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5b31584

Browse files
SyncClient: actually pass Sync filters parameter #157
1 parent c9155a0 commit 5b31584

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

‎objectbox/CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## latest
22

3+
### Sync
4+
5+
* SyncClient: actually configure Sync filters when passing them to `Sync.client` and related helper
6+
methods.
7+
38
## 5.0.1-dev.0 (2025年10月29日)
49

510
* Generator: migrate to `analyzer` 8 APIs. Require at least `analyzer` 8.1.1 and `source_gen` 4.0.1.

‎objectbox/lib/src/native/sync.dart‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,8 @@ class Sync {
789789
if (syncClientsStorage.containsKey(store)) {
790790
throw StateError('Only one sync client can be active for a store');
791791
}
792-
final client = SyncClient._(store, serverUrls, credentials);
792+
final client = SyncClient._(store, serverUrls, credentials,
793+
filterVariables: filterVariables);
793794
syncClientsStorage[store] = client;
794795
InternalStoreAccess.addCloseListener(store, client, client.close);
795796
return client;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /