Skip to content

fix(angular): setup config properly - #24054

Merged
liamdebeasi merged 1 commit into
mainfrom
fix-angular-config
Oct 11, 2021
Merged

liamdebeasi merged 1 commit into
mainfrom
fix-angular-config

Conversation

@liamdebeasi

Copy link
Copy Markdown
Contributor

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
  • Lint (npm run lint) has passed locally and any fixes were made for failures

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 Number: resolves #24051 #24052

What is the new behavior?

  • Use setupConfig instead of initialize
    This was previously fixed in Ionic 6, but we did not port this to Ionic 5.
    One note here is that updating the config between tests in Karma tests will not work, but this will be fixed in Ionic 6 when Ionic Angular moves to the custom elements build and can use the initialize function again.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'? after update to 5.8.2 and higher

1 participant