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)
Sat, May 4, 2:42 PM
Unknown Object (File)
Sat, May 4, 2:42 PM
Unknown Object (File)
Sat, May 4, 12:03 PM
Unknown Object (File)
Sat, May 4, 12:03 PM
Unknown Object (File)
Sat, May 4, 12:03 PM
Unknown Object (File)
Sat, May 4, 12:02 PM
Unknown Object (File)
Sat, May 4, 11:31 AM
Unknown Object (File)
Apr 4 2024, 11:15 AM
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