Feature flag refactoring (part 1)#4181
Merged
pcapriotti merged 34 commits intodevelopfrom Aug 12, 2024
Merged
Conversation
1253d97 to
fb2ba8b
Compare
5030c22 to
0d7768d
Compare
e854929 to
3c485c4
Compare
b6e5ffb to
f1f92c3
Compare
f0d7159 to
c67a907
Compare
c67a907 to
9a033f1
Compare
0d7768d to
7c5ee3c
Compare
9a033f1 to
a8d7ff9
Compare
a8d7ff9 to
550f357
Compare
MangoIV
reviewed
Aug 7, 2024
Contributor
MangoIV
left a comment
There was a problem hiding this comment.
kind of a big one, was really nice working on it :)
c23ceca to
a49cdf2
Compare
2 tasks
0bf9e91 to
1fa5fe1
Compare
MangoIV
reviewed
Aug 8, 2024
Comment on lines
48
to
62
Contributor
There was a problem hiding this comment.
I think this might be possible with recursion on SList which reifies the type level list. You also need a csontraint on all elements, so perhaps smth like cpara_SList might work this time.
- rewrite boilerplate to NP combinators - regeneate nix derivations - format all - make galley, wire-subsystems and wire-api compile
Also rename FeatureSingletonMlsMigration{Config}
Co-authored-by: Mango The Fourth <40720523+MangoIV@users.noreply.github.com>
Co-authored-by: Mango The Fourth <40720523+MangoIV@users.noreply.github.com>
Also get rid of LiftForF constraint, which required `UndecidableSuperClasses`.
Also remove unnecessary parenthesis.
1fa5fe1 to
ca74ec3
Compare
elland
approved these changes
Aug 12, 2024
| dbFeatureTTL, | ||
| dbFeatureConfig, | ||
| dbFeatureModConfig, | ||
| WithStatus, |
This was referenced Oct 23, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First stab at refactoring feature flags and removing code duplication.
Highlights of changes:
Feature,LockableFeatureandLockableFeaturePatch.unlimited.AllFeaturesinto an extensible record type.WithStatusBasebarbie.computeFeatureConfigForTeamUser.getFeatureandsetFeature.getAllTeamFeatures.https://wearezeta.atlassian.net/browse/WPB-10323
Checklist
changelog.d