Page MenuHomePhabricator

[services][feature-flags] Parse feature flags response from DynamoDB
ClosedPublic

Authored by tomek on Feb 23 2023, 8:14 AM.
Tags
None
Referenced Files
F3381374: D6856.id23140.diff
Thu, Nov 28, 4:43 AM
F3380754: D6856.diff
Thu, Nov 28, 1:55 AM
Unknown Object (File)
Sat, Nov 23, 5:05 AM
Unknown Object (File)
Oct 26 2024, 10:18 PM
Unknown Object (File)
Oct 26 2024, 10:18 PM
Unknown Object (File)
Oct 26 2024, 10:18 PM
Unknown Object (File)
Oct 26 2024, 10:18 PM
Unknown Object (File)
Oct 26 2024, 10:17 PM
Subscribers

Details

Summary

Parse the response into struct.

Depends on D6855

Test Plan

Tested with the next diffs.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Feb 23 2023, 8:30 AM
services/feature-flags/src/database.rs
140

IMO the underscore renames for _parse_xxx_attribute should be done in this diff because they're no longer unused. My motivation is to keep the number of underscores as minimal as possible for each diff.

Anyway I see they're renamed in the following diff and I'm OK with that too

This revision is now accepted and ready to land.Feb 24 2023, 2:00 AM
services/feature-flags/src/database.rs
140

Never mind, I forgot that Rust displays warnings recursively for unused functions

services/feature-flags/src/database.rs
140

That's correct - all the underscores were necessary. After introducing the shared lib, number of underscores was decreased, though.