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

fix(runtime): only use setter if existing #5947

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Conversation

christian-bromann
Copy link
Member

What is the current behavior?

Trying to set properties without a setter fails silently in Stencil.

GitHub Issue Number: #2703

What is the new behavior?

Check if property has a setter and use setAttribute otherwise.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Added unit test.

Other information

n/a

@christian-bromann christian-bromann requested a review from a team as a code owner August 14, 2024 23:44
@christian-bromann christian-bromann added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@christian-bromann christian-bromann added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@christian-bromann christian-bromann added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@christian-bromann christian-bromann added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@christian-bromann christian-bromann added this pull request to the merge queue Aug 16, 2024
Merged via the queue into main with commit 7e9fa60 Aug 16, 2024
88 checks passed
@christian-bromann christian-bromann deleted the cb/verify-setter branch August 16, 2024 22:06
@christian-bromann
Copy link
Member Author

This patch has been published in Stencil v4.21.0!

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.

2 participants