Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a feature flag for new field validation behavior #14285

Merged
merged 3 commits into from
Aug 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ 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 +102,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