Skip to content

fix(core): static-query migration should not prompt if no queries are used - #30254

Closed
devversion wants to merge 1 commit into
angular:masterfrom
devversion:not-prompt-if-no-queries
Closed

devversion wants to merge 1 commit into
angular:masterfrom
devversion:not-prompt-if-no-queries

Conversation

@devversion

@devversion devversion commented May 3, 2019 •

Copy link
Copy Markdown
Member

Currently we always prompt when the static-query migration runs. This is not
always needed because some applications do not even use ViewChild or
ContentChild queries and it just causes confusion if developers need to
decide on a migration strategy while there is nothing to migrate.

In order to avoid this confusion, we no longer prompt for a strategy
if there are no queries declared within the project.

References #30224

@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release comp: ivy labels May 3, 2019
@devversion
devversion requested a review from a team May 3, 2019 13:03
@ngbot ngbot Bot added this to the needsTriage milestone May 3, 2019

@CaerusKaru CaerusKaru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kara kara 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

@kara kara added action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 8, 2019
@kara kara removed their assignment May 8, 2019
@kara

kara commented May 8, 2019

Copy link
Copy Markdown
Contributor

presubmit

@kara

kara commented May 8, 2019

Copy link
Copy Markdown
Contributor

@kara kara added 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 May 8, 2019
@kara

kara commented May 8, 2019

Copy link
Copy Markdown
Contributor

@devversion Can you rename the commit to fix(core)?

@kara kara added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels May 8, 2019
… used

Currently we always prompt when the static-query migration runs. This is not
always needed because some applications do not even use `ViewChild` or
`ContentChild` queries and it just causes confusion if developers need to
decide on a migration strategy while there is nothing to migrate.

In order to avoid this confusion, we no longer prompt for a strategy
if there are no queries declared within the project.
@devversion
devversion force-pushed the not-prompt-if-no-queries branch from 83f0cc6 to 7056cb5 Compare May 8, 2019 09:00
@devversion devversion changed the title refactor(core): static-query migration should not prompt if no queries are used fix(core): static-query migration should not prompt if no queries are used May 8, 2019
@devversion devversion removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label May 8, 2019
@alxhub alxhub closed this in 4c12d74 May 8, 2019
alxhub pushed a commit that referenced this pull request May 8, 2019
… used (#30254)

Currently we always prompt when the static-query migration runs. This is not
always needed because some applications do not even use `ViewChild` or
`ContentChild` queries and it just causes confusion if developers need to
decide on a migration strategy while there is nothing to migrate.

In order to avoid this confusion, we no longer prompt for a strategy
if there are no queries declared within the project.

PR Close #30254
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
… used (angular#30254)

Currently we always prompt when the static-query migration runs. This is not
always needed because some applications do not even use `ViewChild` or
`ContentChild` queries and it just causes confusion if developers need to
decide on a migration strategy while there is nothing to migrate.

In order to avoid this confusion, we no longer prompt for a strategy
if there are no queries declared within the project.

PR Close angular#30254
@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 Sep 15, 2019
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 cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants