-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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(compiler-cli): Support resolve animation name from the DTS #45107
fix(compiler-cli): Support resolve animation name from the DTS #45107
Conversation
cce1dd7
to
9513a15
Compare
packages/compiler-cli/src/ngtsc/annotations/component/src/handler.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/annotations/component/src/handler.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/annotations/component/src/handler.ts
Outdated
Show resolved
Hide resolved
9513a15
to
5f91105
Compare
@atscott This is the fix for animation completion in the DTS |
I'll leave this one for @JoostK to review since he knows how this part works much better than I do :) |
packages/compiler-cli/src/ngtsc/annotations/component/src/handler.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/annotations/component/test/component_spec.ts
Outdated
Show resolved
Hide resolved
Before this, the compiler resolves the value in the DTS as dynamic. If the `trigger` is imported from `@angular/animations`, this PR will use FFR to simulate the actual implementation in JS and extracts the animation name.
5f91105
to
a1ff918
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.
Thanks for identifying this problem and providing a fix!
This comment was marked as resolved.
This comment was marked as resolved.
@ivanwonder This had a merge conflict with the patch branch. Could you create a new PR that targets the |
This PR was merged into the repository by commit c0778b4. |
|
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. |
…ar#45107) Before this, the compiler resolves the value in the DTS as dynamic. If the `trigger` is imported from `@angular/animations`, this PR will use FFR to simulate the actual implementation in JS and extracts the animation name. PR Close angular#45107
Before this, the compiler resolves the value in the DTS as dynamic.
If the
trigger
is imported from@angular/animations
, this PR willuse FFR to simulate the actual implementation in JS and extracts the
animation name.
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: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information