Skip to content

refactor(compiler-cli): include linkedSignal in the signal debugName transformer#64106

Closed
hawkgs wants to merge 1 commit intoangular:mainfrom
hawkgs:compiler-cli/linked-signal-debug-name-transform
Closed

refactor(compiler-cli): include linkedSignal in the signal debugName transformer#64106
hawkgs wants to merge 1 commit intoangular:mainfrom
hawkgs:compiler-cli/linked-signal-debug-name-transform

Conversation

@hawkgs
Copy link
Copy Markdown
Member

@hawkgs hawkgs commented Sep 26, 2025

While #63346 addresses the lack of debugName in linkedSignal's options, it seems that we are missing a transformer that adds that debugName to the source files.

The change introduces a special case to the general-purpose signal transformer. This is not ideal (rather the quickest solution) and I've been thinking that maybe we should consider updating the design of that transformer to something more strategy-oriented since the reactivity API is evolving.

On another note, it might be good to add some tests.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: compiler Issues related to `ngc`, Angular's template compiler labels Sep 26, 2025
@ngbot ngbot bot added this to the Backlog milestone Sep 26, 2025
@hawkgs hawkgs marked this pull request as ready for review September 26, 2025 15:35
@pullapprove pullapprove bot requested a review from crisbeto September 26, 2025 15:35
@hawkgs hawkgs added the target: patch This PR is targeted for the next patch release label Sep 26, 2025
@hawkgs hawkgs changed the title feat(compiler-cli): include linkedSignal to the signal debugName transformer refactor(compiler-cli): include linkedSignal in the signal debugName transformer Sep 26, 2025
…transformer

Add support for `linkedSignal`s in the signal `debugName` transformer. Continuation of angular#63346
@hawkgs hawkgs force-pushed the compiler-cli/linked-signal-debug-name-transform branch from 3327202 to 1c51b40 Compare September 26, 2025 15:39
@hawkgs hawkgs added the action: merge The PR is ready for merge by the caretaker label Sep 26, 2025
@pullapprove pullapprove bot requested a review from kirjs September 29, 2025 19:15
Copy link
Copy Markdown
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

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

reviewed-for: public-api

@kirjs
Copy link
Copy Markdown
Contributor

kirjs commented Sep 30, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@kirjs kirjs closed this in c3a949a Sep 30, 2025
kirjs pushed a commit that referenced this pull request Sep 30, 2025
…transformer (#64106)

Add support for `linkedSignal`s in the signal `debugName` transformer. Continuation of #63346

PR Close #64106
@hawkgs hawkgs deleted the compiler-cli/linked-signal-debug-name-transform branch September 30, 2025 20:15
napulitanfrontend pushed a commit to napulitanfrontend/angular that referenced this pull request Oct 10, 2025
…transformer (angular#64106)

Add support for `linkedSignal`s in the signal `debugName` transformer. Continuation of angular#63346

PR Close angular#64106
@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 Oct 31, 2025
@hawkgs hawkgs linked an issue Nov 13, 2025 that may be closed by this pull request
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: compiler Issues related to `ngc`, Angular's template compiler detected: feature PR contains a feature commit target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DevTools signal visualization: Compound signals

3 participants