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(angular): proxyInputs does not error when called multiple times #398

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Oct 26, 2023

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 for affected output targets
  • Tests (npm test) 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
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue URL: resolves #397

What is the new behavior?

  • defineProperty is now configurable meaning the properties can be changed. In this case, the actual property implementations do not change, but they are re-written when calling proxyInputs multiple times.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 0.0.1-dev.11698340434.1c94d384

Ionic dev build available here: ionic-team/ionic-framework#28418 (comment) I used this to manually verify that fix worked in Framework's reproduction case.

This PR uses the output target dev build, so we can leverage Ionic's e2e angular suite to help de-risk this fix: ionic-team/ionic-framework#28423

@liamdebeasi liamdebeasi marked this pull request as ready for review October 26, 2023 17:30
@liamdebeasi liamdebeasi requested review from a team as code owners October 26, 2023 17:30
@liamdebeasi liamdebeasi merged commit e72d7cf into main Oct 26, 2023
3 checks passed
@liamdebeasi liamdebeasi deleted the angular-configurable branch October 27, 2023 13:15
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.

bug: proxyInputs errors when called multiple times
3 participants