Deleting / Partial remove overrides via Experiment #494
pratikmishra356
started this conversation in
General
Replies: 1 comment
-
|
Api endpoint UI flow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preface
Ideally override should not be deleted directly , it should go via experiment.
Approach
In the create Experiment api , capture some flag like delete overrides
in this flow we will allow variants to have different keys, currently we follow that all the variants should have same set of keys , for this type of experiment create , we will allow overrides to have different sets of keys
Case 1 : In Partial delete overrides , the control variant will have the same sets of keys and values as there in the current state of overrides, user can add other variants where they will be allowed to only remove keys and not update any values.
On experiment creation we will create corresponding contexts according to all the variants
Case 2 : Deletion of the whole override, now one variants can remove all the keys , in that case that variant's context will not be create because its not correct to have contexts with empty overrides , so we will just ignore that variant while context creation
Note: In both of the cases , the actual overrides for which we want to delete/partially delete by creating this type of experiment , we will delete that actual overrides on experiment creation
example :
Beta Was this translation helpful? Give feedback.
All reactions