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

refactor(compiler): destroy callback naming #3289

Merged

Conversation

sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Mar 18, 2022

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Unit tests (npm test) were run locally and passed
  • E2E Tests (npm run test.karma.prod) were run locally and passed
  • Prettier (npm run prettier) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): Refactoring a typo in API methods.

What is the current behavior?

Currently the two callbacks for adding and removing callbacks when destroy() is called are misspelled.

  • addDestory
  • removeDestory

GitHub Issue Number: N/A

What is the new behavior?

Updates the naming to be correctly spelled.

  • addDestroy
  • removeDestroy

Does this introduce a breaking change?

  • Yes
  • No

Changes the naming of two public API methods on the Stencil compiler. Developers making use of these methods will need to rename them to the correct spelling.

Testing

Other information

Ignore the branch name, clearly I have issues spelling destroy as well.

@sean-perkins sean-perkins requested a review from a team March 18, 2022 16:18
@rwaskiewicz
Copy link
Member

This LGTM, thanks! CI is failing, but I think that's due to no fault of your own. I need to do some fixup on the v3.0.0-dev branch; when that's done I'll merge this. Thanks again!

@rwaskiewicz rwaskiewicz added the Do Not Merge Contributors: Please do not merge this PR label Mar 18, 2022
@rwaskiewicz rwaskiewicz added the Resolution: Refine This PR is marked for Jira refinement. We're not working on it - we're talking it through. label Mar 18, 2022
@rwaskiewicz rwaskiewicz removed the Do Not Merge Contributors: Please do not merge this PR label Mar 28, 2022
@rwaskiewicz rwaskiewicz merged commit b733e79 into ionic-team:v3.0.0-dev Mar 28, 2022
rwaskiewicz pushed a commit that referenced this pull request Oct 3, 2022
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Dec 2, 2022
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Dec 5, 2022
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Jan 23, 2023
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Jan 24, 2023
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Jan 24, 2023
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Jan 24, 2023
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
rwaskiewicz pushed a commit that referenced this pull request Jan 25, 2023
Fix Typos for `addDestroy` (`addDestory`) and `removeDestroy` (`removeDestory`)

BREAKING CHANGE: Public APIs `addDestroy` (`addDestory`) and `removeDestroy`
(`removeDestory`) have been renamed to fix typos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Refine This PR is marked for Jira refinement. We're not working on it - we're talking it through.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants