fix(compiler-cli): resolve import alias in defer blocks#63966
fix(compiler-cli): resolve import alias in defer blocks#63966SkyZeroZx wants to merge 1 commit intoangular:mainfrom
Conversation
JeanMeche
left a comment
There was a problem hiding this comment.
Q: Is there a difference to capture in the compliance test with this change in ? (see packages/compiler-cli/test/compliance/README.md more info on our compiler compliance tests)
39d2ee2 to
6782f71
Compare
|
Yes , Modified the import resolution to support aliases and added a corresponding test |
|
Reopened, rebased and close by mistake |
|
the force-push screwed-up the PR. You'll have to open a new one. |
|
Re-opened, I rebased incorrectly. |
packages/compiler-cli/test/compliance/test_cases/defer_alias/TEST_CASES.json
Outdated
Show resolved
Hide resolved
1b6d7b4 to
2cffe42
Compare
Fixes an error where using an alias in a defer block caused the compiler CLI to fail when parsing. The resolution logic in ComponentDecoratorHandler was updated to correctly handle deferred dependencies with aliased imports.
2cffe42 to
fc6afa0
Compare
thePunderWoman
left a comment
There was a problem hiding this comment.
LGTM! Thanks for fixing this!
Fixes an error where using an alias in a defer block caused the compiler CLI to fail when parsing. The resolution logic in ComponentDecoratorHandler was updated to correctly handle deferred dependencies with aliased imports. PR Close #63966
|
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. |
Fixes an error where using an alias in a defer block caused the compiler CLI when parsing. The resolution logic in ComponentDecoratorHandler was updated to correctly handle deferred dependencies with aliased imports.
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: #63965
What is the new behavior?
@deferblock now works correctly with import aliases.Does this PR introduce a breaking change?
Other information