HomePhabricator
Diffusion Comm 0a98395dfdab

[lib] Refactor the remaining part of the hash logic using specs

Description

[lib] Refactor the remaining part of the hash logic using specs

Summary:
We can iterate over specs and use the same logic which was used for each infos collection.

https://linear.app/comm/issue/ENG-4813/migrate-getclientresponsesselector-to-a-spec

Depends on D9048

Test Plan: Modify server state and check if state check fixes client state. Bring back the old implementation and check if the hashResults are the same.

Reviewers: kamil, bartek, inka

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Aug 31 2023, 8:25 AM
Reviewer
kamil
Differential Revision
D9049: [lib] Refactor the remaining part of the hash logic using specs
Parents
rCOMM212bd4eb85b9: [lib] Use specs to determine hash value for inner infos
Branches
Unknown
Tags
Unknown