HomePhabricator
Diffusion Comm 161a1a06509f

[web] Convert ids during state check

Description

[web] Convert ids during state check

Summary:
Because the ids will be different on the client and on the server we need to convert them during state sync. We convert them before hashing on the client side

Depends on D7851

Test Plan:
Enable id conversion and load a fresh (migration are not yet implemented) web app. Log invalidKeys in processClientResponses in session-utils.js.

  • without the state check conversion there are invalid keys displayed
  • with the state check conversion there are no errors

Reviewers: kamil, tomek

Reviewed By: tomek

Subscribers: ashoat, atul

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

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on May 17 2023, 4:19 AM
Reviewer
tomek
Differential Revision
D7852: [web] Convert ids during state check
Parents
rCOMMd33ccc54a646: [lib] Move id conversion functions to lib
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM161a1a06509f: [web] Convert ids during state check (authored by Michal Gniadek <michal.gniadek@swmansion.com>).May 22 2023, 5:32 AM