Skip to content

fix(core): Fix nested timer serialization#59173

Closed
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:hydrate-delay
Closed

fix(core): Fix nested timer serialization#59173
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:hydrate-delay

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

There were type mismatches and or unintended any types that were preventing nested timers from accessing the delay value during hydration annotation processing.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • Yes
  • No

@thePunderWoman thePunderWoman added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release labels Dec 12, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 12, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 12, 2024
There were type mismatches and or unintended any types that were preventing nested timers from accessing the delay value during hydration annotation processing.
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 12, 2024
DeferBlockTrigger.Timer,
]);
let triggers = [];
let triggers: (DeferBlockTrigger | SerializedTriggerDetails)[] = [];
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this array was seen as any, which is why this explicit typing is needed here.

Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @thePunderWoman 👍

@AndrewKushnir AndrewKushnir removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Dec 12, 2024
@thePunderWoman thePunderWoman added the action: merge The PR is ready for merge by the caretaker label Dec 12, 2024
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit cf89f14.

The changes were merged into the following branches: main, 19.0.x

AndrewKushnir pushed a commit that referenced this pull request Dec 12, 2024
There were type mismatches and or unintended any types that were preventing nested timers from accessing the delay value during hydration annotation processing.

PR Close #59173
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 12, 2025
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
There were type mismatches and or unintended any types that were preventing nested timers from accessing the delay value during hydration annotation processing.

PR Close angular#59173
@thePunderWoman thePunderWoman deleted the hydrate-delay branch May 23, 2025 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants