Skip to content

refactor: remove QueryList workaround for type checking #17789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

crisbeto
Copy link
Member

In earlier 9.0 RCs QueryList wasn't inferred as iterable and we were getting compiler errors. The way we worked around it was to convert it into an array. Now that the compiler handles QueryList correctly we don't need the workarounds anymore.

In earlier 9.0 RCs `QueryList` wasn't inferred as iterable and we were getting compiler errors. The way we worked around it was to convert it into an array. Now that the compiler handles `QueryList` correctly we don't need the workarounds anymore.
@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release labels Nov 22, 2019
@crisbeto crisbeto added this to the 9.0.0 milestone Nov 22, 2019
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 22, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn modified the milestones: 9.0.0, 9.1.0 Nov 22, 2019
@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed target: major This PR is targeted for the next major release labels Nov 22, 2019
Copy link
Contributor

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for putting this together! I resolved this for material.angular.io, but I never had time to look at it here. The *ngFor fix went in a while ago, but I think that the QueryList fix just landed in rc.3.

👍 for getting this into 9.0.0.

@jelbourn jelbourn merged commit 86a4208 into angular:master Dec 3, 2019
@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 Jan 3, 2020
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 cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround 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