Skip to content

refactor(migrations): initial migration logic for converting to signal queries#57525

Closed
devversion wants to merge 3 commits intoangular:mainfrom
devversion:initial-queries
Closed

refactor(migrations): initial migration logic for converting to signal queries#57525
devversion wants to merge 3 commits intoangular:mainfrom
devversion:initial-queries

Conversation

@devversion
Copy link
Member

Adds initial migration logic to convert decorator query declarations to signal queries.

We will re-use more part of the signal input migration in follow-ups, to properly migrate,
and e.g. even handle control flow

…l queries

Adds initial migration logic to convert decorator query declarations to
signal queries.

We will re-use more part of the signal input migration in follow-ups, to
properly migrate, and e.g. even handle control flow
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Aug 26, 2024
@devversion devversion requested a review from crisbeto August 26, 2024 15:06
@angular-robot angular-robot bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Aug 26, 2024
@ngbot ngbot bot added this to the Backlog milestone Aug 26, 2024
Properly handles queries with multiple results, by extracting the
type from the `QueryList`.

Also adds more tests and handles imports.
@devversion devversion added action: merge The PR is ready for merge by the caretaker PullApprove: disable labels Aug 27, 2024
@devversion devversion removed the request for review from pkozlowski-opensource August 27, 2024 11:41
@devversion devversion removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Aug 27, 2024
…o signal queries

Fix incorrect ID description
@alxhub
Copy link
Member

alxhub commented Aug 27, 2024

This PR was merged into the repository by commit f454ad3.

The changes were merged into the following branches: main, 18.2.x

@alxhub alxhub closed this in 6f5b435 Aug 27, 2024
alxhub pushed a commit that referenced this pull request Aug 27, 2024
Properly handles queries with multiple results, by extracting the
type from the `QueryList`.

Also adds more tests and handles imports.

PR Close #57525
alxhub pushed a commit that referenced this pull request Aug 27, 2024
…l queries (#57525)

Adds initial migration logic to convert decorator query declarations to
signal queries.

We will re-use more part of the signal input migration in follow-ups, to
properly migrate, and e.g. even handle control flow

PR Close #57525
alxhub pushed a commit that referenced this pull request Aug 27, 2024
Properly handles queries with multiple results, by extracting the
type from the `QueryList`.

Also adds more tests and handles imports.

PR Close #57525
alxhub added a commit to alxhub/angular that referenced this pull request Aug 27, 2024
alxhub added a commit to alxhub/angular that referenced this pull request Aug 27, 2024
…to signal queries (angular#57525)"

This reverts commit 6f5b435.

Reason: breaks g3
alxhub added a commit that referenced this pull request Aug 27, 2024
alxhub added a commit that referenced this pull request Aug 27, 2024
…to signal queries (#57525)" (#57555)

This reverts commit 6f5b435.

Reason: breaks g3

PR Close #57555
alxhub added a commit that referenced this pull request Aug 27, 2024
alxhub added a commit that referenced this pull request Aug 27, 2024
…to signal queries (#57525)" (#57555)

This reverts commit 6f5b435.

Reason: breaks g3

PR Close #57555
@devversion devversion mentioned this pull request Aug 27, 2024
@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 Sep 27, 2024
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: migrations Issues related to `ng update`/`ng generate` migrations PullApprove: disable target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants