-
Notifications
You must be signed in to change notification settings - Fork 27k
refactor: make LView[Injector] non nullable #58805
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
Conversation
AndrewKushnir
left a comment
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.
LGTM, just a minor proposal to update a comment to indicate that the injector is now non-optional 👍
9a759a1 to
4005ca4
Compare
|
The lint job if failing because the commit message lacks a commit body of minimum 20chars. |
4005ca4 to
4e80ec4
Compare
|
This should also have a scope in the commit. It should be |
4e80ec4 to
8ec880e
Compare
There actually no cases, where it can be null. Also update all usages.
8ec880e to
162273c
Compare
There actually no cases, where it can be null. Also update all usages. PR Close #58805
|
This PR was merged into the repository by commit 15f0716. The changes were merged into the following branches: main, 19.0.x |
|
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. |
Currently, the LView[INJECTOR] typings include null, when in practice we don't have cases when that may happen. That requires using non-null assertions in the code.
This PR makes LView[INJECTOR] nonnullable and drops all the assertions