Commit 063395d
authored
(feat): Sync Streams (#35)
* Adding data classes and fields related to sync streams. Added controller logic to StreamingSyncImplementation.
* Scaffold for ConnectionManager.
* Finished first stab at sync streams.
* Fixes/polish.
* Added finalizer. Cleaned up some property getters.
* Polish.
* Fixed issue with skipping Storage Adapter cleanup failing sequential tests.
* Virtualised some Remote methods, also changed remote to be supplied via a factory. Scaffolding A MockRemote test.
* Added a fix for closing a live stream.
* Finished PoC for mocked sync service tests. Added missing StreamingSyncRequest field.
* wip
* Ported SyncStreamsTests. Minor fixes/polish.
* Disabled parralelization across tests.
* Deep equal test implementation.
* Added DeepEquals utility, using for comparison in SyncStatus.
* Using StreamPriority struct instead of enum. TTL is now specified via TimeSpan.
* Removing pointless json attribute.
* Fixed dapper typing issue.
* Changelog entry.
* Made SyncStatus on DB public.
* Added SyncTests to test some more sync issues. Fixed dapper issue.
* Changed PowerSyncDatabase public members to public get, protected set.
* Moved performance tests to a separate test package.1 parent 35cea75 commit 063395d
27 files changed
Lines changed: 2505 additions & 185 deletions
File tree
- PowerSync/PowerSync.Common
- Client
- Connection
- Sync
- Bucket
- Stream
- DB/Crud
- Utils
- Tests/PowerSync
- PowerSync.Common.PerformanceTests
- PowerSync.Common.Tests
- Client/Sync
- Utils
- Sync
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments