Skip to content

Commit

Permalink
feat: add a feature flag for chained validation
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Aug 9, 2022
1 parent 0ccad9b commit 69d4789
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ public class FeatureFlags implements Serializable {
"Collaboration Engine backend for clustering support",
"collaborationEngineBackend",
"https://github.com/vaadin/platform/issues/1988", true, null);
public static final Feature ENFORCE_FIELD_VALIDATION = new Feature(
"Enforce client / constraint / binder validation", "enforceFieldValidation",
"https://github.com/vaadin/platform/issues/3066", false, null);
private List<Feature> features = new ArrayList<>();

File propertiesFolder = null;
Expand All @@ -98,6 +101,7 @@ public FeatureFlags(Lookup lookup) {
features.add(new Feature(OFFLINE_LICENSE_CHECKER));
features.add(new Feature(COLLABORATION_ENGINE_BACKEND));
features.add(new Feature(WEBPACK));
features.add(new Feature(ENFORCE_FIELD_VALIDATION));
loadProperties();
}

Expand Down

0 comments on commit 69d4789

Please sign in to comment.