You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
When I run ng generate @angular/core:signal-input-migration on a brand new CLI-generated v19 project containing a decorator-syntax @input "foo", the migration analyzes tsconfig.app.json and tsconfig.spec.json and runs the migration for each of the tsconfigs. This results in template file having foo()() instead of foo(). If I delete tsconfig.spec.json, the migration only analyses tsconfig.app.json and runs once, resulting in foo() as expected.
This same behavior happens with the signal-query migration.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run ng version)
Any thoughts on a workaround in the meantime? We have dozens of large Angular projects we need to migrate so manually fixing this in all of these files is a huge task.
@bmayen Aside from removing either one tsconfig temporarily, I don't know of a workaround. Surprisingly this started recently because we didn't see this before in our manual tests
I will try to look into this tomorrow and hopefully have a fix soon.
Right, it's related, but with my note above I've referred to the fact that we never saw this on the signal migrations— which were tested extensively in various open source projects. Not sure what changed.
Activity
bmayen commentedon May 15, 2025
Any thoughts on a workaround in the meantime? We have dozens of large Angular projects we need to migrate so manually fixing this in all of these files is a huge task.
devversion commentedon May 15, 2025
@bmayen Aside from removing either one tsconfig temporarily, I don't know of a workaround. Surprisingly this started recently because we didn't see this before in our manual tests
I will try to look into this tomorrow and hopefully have a fix soon.
bmayen commentedon May 15, 2025
Much appreciated
JeanMeche commentedon May 15, 2025
Fwiw we've has similar reports previously on other migrations
devversion commentedon May 16, 2025
Right, it's related, but with my note above I've referred to the fact that we never saw this on the signal migrations— which were tested extensively in various open source projects. Not sure what changed.
devversion commentedon May 16, 2025
FYI: A PR is pending that should fix this. I'll add some tests in a follow-up trying to cover the specific scenario of this issue.
angular-automatic-lock-bot commentedon Jun 21, 2025
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.