HomePhabricator
Diffusion Comm 96d9a7b0315c

[services][feature-flags] Introduce map and i32 parsing

Description

[services][feature-flags] Introduce map and i32 parsing

Summary:
We have to introduce a function that parses strings into numbers, because map keys in Dynamo are plain strings instead of AttributeValues. This affects what we store in DBItemError - now it is either AttributeValue or a String.

Depends on D6854

Test Plan: Tested with the rest of the stack.

Reviewers: michal, bartek, jon, varun

Reviewed By: bartek

Subscribers: ashoat, atul

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

Details

Provenance
tomekAuthored on Feb 27 2023, 3:36 AM
Reviewer
bartek
Differential Revision
D6855: [services][feature-flags] Introduce map and i32 parsing
Parents
rCOMM56c4f5d86838: [services] Extract common database code to a separate lib
Branches
Unknown
Tags
Unknown