Replies: 2 comments 2 replies
|
Hi @gigq, this is more of a feature request than a bug so I am going to convert it to a discussion. If you have an idea of how the API should be designed then please do share some details. And feel free to open a draft PR, but also do minimize the AI verbiage and try to get it down to a succinct, minimal API. One thing that isn't clear to me is how to make this state observable so that you can just access the helpers and have the view automatically update when the state changes. I feel like that would be pretty important. |
|
What I primarily need is the pending counts so something like this would work for me. public struct PendingChangeCounts: Equatable, Sendable { public var pendingChangeCounts: PendingChangeCounts? { get } Could just have it be observable like isSendingChanges. That would work for me to be able to have it in my debugging view. Right now I'm just doing hacks to get it to work. Let me know if this seems ok and I can put a PR together. |
Uh oh!
There was an error while loading. Please reload this page.
Description
I have a dev debug section in my apps for debugging sync issues. It would be helpful to get some data from CKSyncEngine like pending changes, etc. Any chance those can exposed in a future version.
Checklist
mainbranch of this package.Expected behavior
No response
Actual behavior
No response
Reproducing project
No response
SQLiteData version information
No response
Sharing version information
No response
GRDB version information
No response
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
All reactions