Page MenuHomePhabricator

[services-lib] Add DDB Attribute conversion traits
ClosedPublic

Authored by bartek on Aug 10 2023, 3:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 6:28 AM
Unknown Object (File)
Fri, Nov 29, 12:57 AM
Unknown Object (File)
Fri, Nov 29, 12:20 AM
Unknown Object (File)
Mon, Nov 25, 6:55 PM
Unknown Object (File)
Sat, Nov 23, 11:46 PM
Unknown Object (File)
Sat, Nov 23, 4:33 AM
Unknown Object (File)
Nov 22 2024, 4:38 AM
Unknown Object (File)
Nov 18 2024, 2:08 PM
Subscribers

Details

Summary

Introduced traits that allow for implementing convenient conversions from DDB AttributeValue to various types.
They will be implemented in subsequent diffs.

Depends on D8787

Test Plan

Following bash one-liner:

cd services
for r in "comm-services-lib" "backup" "blob" "feature-flags"; do pushd $r; cargo check --all-features; popd; done

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Aug 11 2023, 2:23 AM
bartek added a reviewer: varun.
michal added inline comments.
services/comm-services-lib/src/database.rs
90 ↗(On Diff #29832)

nit

This revision is now accepted and ready to land.Aug 11 2023, 4:13 AM