Conversation
|
Here's my review of PR #61 - Feature Flags System: Overall AssessmentSolid, well-structured feature. The architecture follows existing codebase patterns nicely (handler/route/service layering, Issues1.
|
|
See above - I commented on each item if it's actually needed or not, nothing major |
Findings
[feature_flags]
wallet_feature_flags_config_file = "../wallet_feature_flags/example_feature_flags.json"Re-check outcome
Assumptions / residual risk
Reference: PR #61 |
|
Ok these hard-coded feature flags are better than nothing but why not have a key/value system with just strings? Meaning we can just define new feature flags in the wallet without deploying a new server? Or with a local way to change the feature flag settings? server get_setting("flag", "default") Then we actually need a way to change feature flags on the server too Either way these are two different and unrelated concerns:
Hmmm... small admin page? Anyway this PR is good for what it is doing |
| #[derive(Debug, Clone, Serialize, Deserialize)] | ||
| #[serde(rename_all(deserialize = "camelCase"))] | ||
| pub struct WalletFeatureFlags { | ||
| pub enable_test_buttons: bool, |
There was a problem hiding this comment.
why do we have these hard-coded values?
If we manage these by editing the JSON file, we can just have anything in there right?
There was a problem hiding this comment.
we just change the json file we don't have to redeploy just edit it using nano/vim or other text editor
|
Ok I reviewed, just some questions on how it works
|
|
|
Good, I now have the full picture. Here's my review of PR #61 — Feature Flags System. OverallNice work. The architecture is clean — handler/route/service layering follows existing codebase patterns. The switch to That said, there are a few items I'd flag: Issues1. Missing
|
Summary