HomePhabricator
Diffusion Comm 69c5110d43e7

[services][identity] helper function to parse map attributes from dynamodb

Description

[services][identity] helper function to parse map attributes from dynamodb

Summary:
fairly straightforward. we take an Option<AttributeValue> that should hold a HashMap and then return the HashMap or an error if it's the wrong type or missing

Depends on D5567

Test Plan: this helper function is tested two diffs later when the getUserPublicKey RPC is actual callable

Reviewers: tomek, bartek, jon

Reviewed By: tomek, bartek, jon

Subscribers: ashoat, atul, abosh

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

Details

Provenance
varunAuthored on Nov 8 2022, 12:52 PM
Reviewer
tomek
Differential Revision
D5568: [services][identity] helper function to parse map attributes from dynamodb
Parents
rCOMM14088b6a8a36: [Nix] Remove flakeConfig for cache
Branches
Unknown
Tags
Unknown