HomePhabricator
Diffusion Comm c9f524a4dfb8

[keyserver] Return object from fetchEntryInfosByID

Description

[keyserver] Return object from fetchEntryInfosByID

Summary:
All the others state syncs use objects instead of array when fetching entries, so it makes sense to make this consistent. Additionally, it is more efficient to access by id instead of iterating over array.

https://linear.app/comm/issue/ENG-4654/unify-interfaces-in-session-utils

Depends on D8925

Test Plan: Modify a couple of calendar entries in the keyserver db and check if the state is correctly fixed.

Reviewers: kamil, bartek, inka

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Aug 17 2023, 7:24 AM
Reviewer
kamil
Differential Revision
D8926: [keyserver] Return object from fetchEntryInfosByID
Parents
rCOMMba61fbfe7ae9: [keyserver] Use Set as an argument of fetchEntryInfosByID
Branches
Unknown
Tags
Unknown