HomePhabricator
Diffusion Comm c8c3cea3fb65

[lib] Introduce `rawThreadInfoValidator` and consume in `threads-state-sync…

Description

[lib] Introduce rawThreadInfoValidator and consume in threads-state-sync-spec

Summary:
Introduce validator that can handle both LegacyRawThreadInfo and MinimallyEncodedRawThreadInfo because keyserver will be handling both.

Updated validator was required to update threads-state-sync-spec which will allow us to update rest of thread update/thread "ops" code.


Depends on D10210

Test Plan: Flow/CI/validator will fail during testing if not defined correctly.

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D10211

Details

Provenance
atulAuthored on Dec 13 2023, 12:46 PM
Reviewer
tomek
Differential Revision
D10211: [lib] Introduce `rawThreadInfoValidator` and consume in `threads-state-sync-spec`
Parents
rCOMM9b34dc089e8c: [desktop] codeVersion -> 11.0.0
Branches
Unknown
Tags
Unknown