MistKit icon indicating copy to clipboard operation
MistKit copied to clipboard

Fetching Zone Changes (zones/changes)

Open leogdion opened this issue 5 years ago • 1 comments

leogdion avatar Sep 15 '20 17:09 leogdion

Status Update: The fetchZoneChanges operation exists in Sources/MistKit/Generated/Client.swift (line 1886) but is not exposed in the public CloudKitService API.

What needs to be done:

  1. Create a public wrapper method in CloudKitService+Operations.swift
  2. Handle continuation tokens for paginated results
  3. Map to user-friendly change types (added/modified/deleted)
  4. Add documentation explaining change tracking patterns
  5. Add tests including pagination scenarios

Generated operation signature:

internal func fetchZoneChanges(_ input: Operations.fetchZoneChanges.Input) 
  async throws -> Operations.fetchZoneChanges.Output

Related to #137 (incremental sync). Critical for offline-first apps and CloudKit sync.

leogdion avatar Nov 27 '25 16:11 leogdion