Skip to content

docs: remove empty onInit() & constructors - #48576

Closed
JeanMeche wants to merge 2 commits into
angular:mainfrom
JeanMeche:docs/tour-of-heroes-oninit
Closed

JeanMeche wants to merge 2 commits into
angular:mainfrom
JeanMeche:docs/tour-of-heroes-oninit

Conversation

@JeanMeche

@JeanMeche JeanMeche commented Dec 22, 2022 •

Copy link
Copy Markdown
Member

Following angular/angular-cli#24008, the schematics don't produce ngOnInit and the constructor anymore. Let's reflect that in the Tour of Heroes tutorial.

Edit: I also removed it from other parts of the documentation.

Fixes #48575

PR Type

What kind of change does this PR introduce?

  • Documentation content changes

@pullapprove
pullapprove Bot requested a review from jessicajaniuk December 22, 2022 14:05
@ngbot ngbot Bot added this to the Backlog milestone Dec 22, 2022
@JeanMeche
JeanMeche force-pushed the docs/tour-of-heroes-oninit branch 2 times, most recently from 0094b53 to 281ef20 Compare December 22, 2022 15:42
@pullapprove
pullapprove Bot requested a review from dylhunn December 24, 2022 12:51
@JeanMeche JeanMeche changed the title docs: remove onInit from Tour Of Heroes. docs: remove empty onInit() & constructors Dec 24, 2022

@dylhunn dylhunn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like #24008 is unrelated. Did you mean to link to a different PR?

reviewed-for: fw-core, fw-forms

@JeanMeche

JeanMeche commented Dec 27, 2022 •

Copy link
Copy Markdown
Member Author

@dylhunn My bad, It's pointing at the wrong repo : angular/angular-cli#24008,

@JeanMeche
JeanMeche force-pushed the docs/tour-of-heroes-oninit branch from d806058 to 26e1cb1 Compare January 4, 2023 18:11

@AndrewKushnir AndrewKushnir left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

(this PR will require a rebase once PR #48546 lands, adding the "cleanup" label for now)

@AndrewKushnir AndrewKushnir added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: patch This PR is targeted for the next patch release labels Jan 4, 2023
@AndrewKushnir

Copy link
Copy Markdown
Contributor

@JeanMeche PR #48546 is now merged, could you please rebase this PR and resolve merge conflicts?

Following angular#24008, the schematics don't produce ngOnInit and the constructor. Let's reflect that in the Tour of Heroes tutorial.

Fixes angular#48575
@JeanMeche
JeanMeche force-pushed the docs/tour-of-heroes-oninit branch from 26e1cb1 to 94b490a Compare January 5, 2023 08:58
@JeanMeche

Copy link
Copy Markdown
Member Author

@AndrewKushnir ✅

@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: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jan 5, 2023
@AndrewKushnir

Copy link
Copy Markdown
Contributor

Caretaker note: low risk PR, current set of approvals should be sufficient.

@jessicajaniuk jessicajaniuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jessicajaniuk jessicajaniuk removed the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Jan 5, 2023
@alxhub

alxhub commented Jan 5, 2023

Copy link
Copy Markdown
Member

This PR was merged into the repository by commit 43ced45.

alxhub pushed a commit that referenced this pull request Jan 5, 2023
Following #24008, the schematics don't produce ngOnInit and the constructor. Let's reflect that in the Tour of Heroes tutorial.

Fixes #48575

PR Close #48576
alxhub pushed a commit that referenced this pull request Jan 5, 2023
alxhub pushed a commit that referenced this pull request Jan 5, 2023
Following #24008, the schematics don't produce ngOnInit and the constructor. Let's reflect that in the Tour of Heroes tutorial.

Fixes #48575

PR Close #48576
alxhub pushed a commit that referenced this pull request Jan 5, 2023
@alxhub alxhub closed this in 51ff781 Jan 5, 2023
alxhub pushed a commit that referenced this pull request Jan 5, 2023
@JeanMeche
JeanMeche deleted the docs/tour-of-heroes-oninit branch January 6, 2023 08:59
trekladyone pushed a commit to trekladyone/angular that referenced this pull request Feb 1, 2023
Following angular#24008, the schematics don't produce ngOnInit and the constructor. Let's reflect that in the Tour of Heroes tutorial.

Fixes angular#48575

PR Close angular#48576
trekladyone pushed a commit to trekladyone/angular that referenced this pull request Feb 1, 2023
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Feb 6, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OnInit is not added to new components any more

6 participants