Skip to content

feat: add custom-element decorator#2844

Closed
heyMP wants to merge 1 commit intomainfrom
feat/core/custom-element
Closed

feat: add custom-element decorator#2844
heyMP wants to merge 1 commit intomainfrom
feat/core/custom-element

Conversation

@heyMP
Copy link
Copy Markdown
Contributor

@heyMP heyMP commented Sep 13, 2024

What I did

  1. Add customElement decorator that catches has already been used with this registry errors and converts them into a console warn.

Testing Instructions

Notes to Reviewers

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 13, 2024

⚠️ No Changeset found

Latest commit: a13c6f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@heyMP heyMP linked an issue Sep 13, 2024 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "feat: add custom-element decorator"
}

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "feat: add custom-element decorator"
}

@netlify
Copy link
Copy Markdown

netlify bot commented Sep 13, 2024

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 1a3f939
😎 Deploy Preview https://deploy-preview-2844--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the AT passed Automated testing has passed label Sep 13, 2024
@heyMP
Copy link
Copy Markdown
Contributor Author

heyMP commented Sep 24, 2024

After discussion, I'm going to close this PR in favor of a possible alternative.

@heyMP heyMP closed this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Don't throw error on duplicate custom element definition

1 participant