-
Notifications
You must be signed in to change notification settings - Fork 70
refactor: deprecate Element APIs in ConfirmDialog #5495
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
refactor: deprecate Element APIs in ConfirmDialog #5495
Conversation
Element API should not be exposed to component level.
Don't know how much these methods are used (hope not much). If somewhere else but in our own ITs, should be deprecated first 🤷♂️ |
...tegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java
Outdated
Show resolved
Hide resolved
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.
Thanks for the PR. Unfortunately we can't remove existing methods that accept Element
without deprecating them first. So let's mark them as @Deprecated
now and then remove in the next major.
…ntegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java Co-authored-by: Knoobie <Knoobie@gmx.de>
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.
The title and the description of this PR need updates
Edit: Updated the title and the description
...tegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java
Outdated
Show resolved
Hide resolved
…ntegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java Co-authored-by: Knoobie <Knoobie@gmx.de>
...tegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java
Show resolved
Hide resolved
...confirm-dialog-flow/src/main/java/com/vaadin/flow/component/confirmdialog/ConfirmDialog.java
Outdated
Show resolved
Hide resolved
...tegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
Description
Element API should not be exposed to the component level.
Type of change
Refactor