-
Notifications
You must be signed in to change notification settings - Fork 169
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts with master should be resolved.
By the way, where is this flag supposed to be checked? Does the Flow's Binder
need to check it and behave accordingly?
The flag is planned to be used only in Flow field components. |
Here is an alternative naming for the flag suggested by @yuriy-fix: |
Another name could be |
@knoobie Good point, I agree that the current naming is rather not descriptive and that we need to find a better alternative. Just want to point out that the field constraint validation has already been somewhat integrated into the binder validation through implementing That being said, the above doesn't change things much and your suggested naming would still work, I think. I wonder how we should name the feature flag itself then: |
Oh! I was expecting the whole epic (including the field changes) would be behind the feature flag and not just the client side. (Don't mind, was just unexpected)
I would think this describes it the best |
As a result of an internal discussion, we came to the agreement that
|
2f17a08
to
69d4789
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This ticket/PR has been released with Vaadin 23.2.0.beta1 and is also targeting the upcoming stable 23.2.0 version. |
Description
This PR adds a feature flag for the new field validation behavior. The flag will be used by Flow field components. For more information about the new behavior, please refer to vaadin/platform#3066.
Part of vaadin/platform#3066
Type of change
Checklist