You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No public way to encode records as CloudKit Web Services JSON #495
MistKit encodes field values and record operations internally (Components.Schemas.FieldValueRequest, RecordOperation), but callers that need the wire format (copying records as JSON, showing a modifyRecords body) have to reimplement it: {"value", "type"}, *_LIST types, timestamps in milliseconds, base64 bytes, reference and location dictionaries.
Proposal: public encode/decode for FieldValue and RecordOperation, and a modify request body encoder, including clearing a field ({"value": null}) and a reference's zone. Add round-trip tests.
Found while building brightdigit/Mistico (vendored at Packages/MistKit, branch mistico from v1.0.0-beta.6). Tracked in brightdigit/Mistico#119.
Activity