Skip to content

Conversation

mstahv
Copy link
Member

@mstahv mstahv commented Sep 22, 2023

Description

Element API should not be exposed to the component level.

Type of change

Refactor

Element API should not be exposed to component level.
@mstahv
Copy link
Member Author

mstahv commented Sep 22, 2023

Don't know how much these methods are used (hope not much). If somewhere else but in our own ITs, should be deprecated first 🤷‍♂️

Copy link
Member

@web-padawan web-padawan left a 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.

mstahv and others added 2 commits September 22, 2023 10:43
…ntegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java

Co-authored-by: Knoobie <Knoobie@gmx.de>
@mstahv mstahv requested a review from web-padawan September 22, 2023 07:44
Copy link
Member

@tomivirkki tomivirkki left a 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

mstahv and others added 2 commits September 27, 2023 12:48
…ntegration-tests/src/main/java/com/vaadin/flow/component/confirmdialog/tests/FeaturesDiy.java

Co-authored-by: Knoobie <Knoobie@gmx.de>
@tomivirkki tomivirkki changed the title bugfix: removed leaked Element API from component API refactor: deprecate Element APIs in ConfirmDialog Oct 4, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants