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
F3394512: D6856.id23230.diff
Sat, Nov 30, 8:14 PM
Unknown Object (File)
Thu, Nov 28, 5:00 AM
Unknown Object (File)
Thu, Nov 28, 4:51 AM
Unknown Object (File)
Thu, Nov 28, 4:43 AM
Unknown Object (File)
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
Subscribers

Details

Summary

Parse the response into struct.

Depends on D6855

Test Plan

Tested with the next diffs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.Feb 23 2023, 8:30 AM
services/feature-flags/src/database.rs
140 ↗(On Diff #23009)

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 ↗(On Diff #23009)

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

services/feature-flags/src/database.rs
140 ↗(On Diff #23009)

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