Skip to content

Signal inputs migration is not taking templates into account #58455

Closed

Description

@pkozlowski-opensource

Which @angular/* package(s) are the source of the bug?

migrations

Is this a regression?

No

Description

Here is a PR with the automated run of the inputs migration in the "safe" mode: #58453

The are number of problems with the outcome, we should go over the problematic migrations and see if those are adev specific or applicable to other applications as well.

Please provide a link to a minimal reproduction of the bug

#58453

Activity

  1. pkozlowski-opensource commented on Oct 31, 2024

    @pkozlowski-opensource
    MemberAuthor
  2. added
    area: migrations
    on Oct 31, 2024
  3. added this to the needsTriage milestone on Oct 31, 2024
  4. devversion commented on Nov 4, 2024

    @devversion
    Member

    @pkozlowski-opensource I've digged into it (and learned a few things in how we can debug those things easier in the future; so it was a useful exercise).

    I think the issue is that you ran without a "valid" setup. The Angular compiler couldn't properly generate type check blocks because you didn't have @angular/core (and other dependencies) in the adev/node_modules folder. So, lookups failed and the Angular compiler simply couldn't register the templates etc.

    When I copied node_modules to adev, fixed the tsconfig.json path mappings, it worked as expected. I think adev is not a project that we would see in the wild. Seems to work as expected IMO; but we could look into better messaging in such "weird" situations.

  5. angular-automatic-lock-bot commented on Dec 6, 2024

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: migrations

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions