Skip to content

refactor(core): Remove usage of deprecated Injector.create()#49606

Closed
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:chore/injector-create
Closed

refactor(core): Remove usage of deprecated Injector.create()#49606
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:chore/injector-create

Conversation

@JeanMeche
Copy link
Member

This commit removes all usages of the deprecated Injector.create method but does not remove the deprecated signature itself.

Question also, would a migration be required to remove the deprecated overload ?

This commit removes all usages of the deprecated `Injector.create` method but does not remove the deprecated signature itself.
@pullapprove pullapprove bot requested review from alxhub and dylhunn March 27, 2023 18:43
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeanMeche this looks great 👍

@AndrewKushnir
Copy link
Contributor

Question also, would a migration be required to remove the deprecated overload ?

Yes, it's likely that a migration would be required. This would be a lower priority though (due to low benefits/efforts ratio).

@AndrewKushnir AndrewKushnir added area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release action: presubmit The PR is in need of a google3 presubmit labels Mar 28, 2023
@ngbot ngbot bot added this to the Backlog milestone Mar 28, 2023
@AndrewKushnir
Copy link
Contributor

Presubmit.

@AndrewKushnir
Copy link
Contributor

Caretaker notes:

  • presubmit is "green" (only unrelated and pre-existing failures)
  • low risk change, current approval should be sufficient

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: presubmit The PR is in need of a google3 presubmit labels Mar 28, 2023
@atscott
Copy link
Contributor

atscott commented Mar 28, 2023

This PR was merged into the repository by commit 74adf81.

@atscott atscott closed this in 74adf81 Mar 28, 2023
atscott pushed a commit that referenced this pull request Mar 28, 2023
This commit removes all usages of the deprecated `Injector.create` method but does not remove the deprecated signature itself.

PR Close #49606
@JeanMeche JeanMeche deleted the chore/injector-create branch April 18, 2023 19:23
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants