-
Notifications
You must be signed in to change notification settings - Fork 26.2k
fix(core): ensure initial value of QueryList length #21982
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
fix(core): ensure initial value of QueryList length #21982
Conversation
d75bf11
to
1edaafe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add:
Closes #21980
to the commit message
Set initial value of `length` to `0`. Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value. Closes angular#21980
1edaafe
to
c085db8
Compare
Done |
Set initial value of `length` to `0`. Fixes regression introduced by e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value. Closes #21980 PR Close #21982
…ngular#21982) Set initial value of `length` to `0`. Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value. Closes angular#21980 PR Close angular#21982
…ngular#21982) Set initial value of `length` to `0`. Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value. Closes angular#21980 PR Close angular#21982
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #21980
What is the new behavior?
Length has been initialized to
0
, which would have been the initial value returned byget length()
before it was refactored in e544742#diff-a85dbe0991a7577ea24b49374e9ae90b.Closes #21980.
Does this PR introduce a breaking change?
Other information