feat(compiler-cli): Add an extended diagnostic for ngSkipHydration#49512
feat(compiler-cli): Add an extended diagnostic for ngSkipHydration#49512JeanMeche wants to merge 1 commit intoangular:mainfrom
ngSkipHydration#49512Conversation
978367f to
d6897f9
Compare
nSkipHydrationngSkipHydration
AndrewKushnir
left a comment
There was a problem hiding this comment.
@JeanMeche huge thanks for the help with this change! 👍
The change looks great, I've just left a few minor comments.
goldens/public-api/compiler-cli/extended_template_diagnostic_name.md
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_binding/index.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_binding/index.ts
Outdated
Show resolved
Hide resolved
d6897f9 to
8d10899
Compare
8d10899 to
baffe31
Compare
AndrewKushnir
left a comment
There was a problem hiding this comment.
@JeanMeche looks great, just a minor comment related to the error message text.
I also noticed that the commit message refers to the ApplicationRef (likely a commit message that was used in other PR). Could you please update the commit message?
Thank you.
packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.ts
Outdated
Show resolved
Hide resolved
This diagnostic ensures that the special attribute `ngSkipHydration` is not a binding and has no other value than `"true"` or an empty value. Fixes angular#49501
baffe31 to
48272d7
Compare
AndrewKushnir
left a comment
There was a problem hiding this comment.
@JeanMeche looks great, thanks for the PR 👍
AndrewKushnir
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
jessicajaniuk
left a comment
There was a problem hiding this comment.
LGTM!
reviewed-for: public-api
|
Caretaker note: presubmit is "green". |
|
This PR was merged into the repository by commit 03d1d00. |
|
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. |
This diagnostic ensures that the special attribute
ngSkipHydrationis not a binding and has no other value than"true"or an empty value.Fixes #49501