Skip to content

Commit b293161

Browse files
committed
override behavior 2
1 parent b2c8c4e commit b293161

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/feature-toggles.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ class FeatureToggles {
238238
if (this.__config[featureKey]) {
239239
switch (mergeConflictBehavior) {
240240
case CONFIG_MERGE_CONFLICT.OVERRIDE: {
241+
// TODO: you cannot just remove all validations, because registering validations before init is recommended
242+
// for programmatic validation
241243
this.removeAllFeatureValueValidation(featureKey);
242244
break;
243245
}

0 commit comments

Comments
 (0)