Skip to content

v22 migration : model + output #67340

@JeanMeche

Description

@JeanMeche

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

With #65952 merged as a breaking change, it would be a nice to have to write a migration for some of the cases that surfaced on G3.

  1. model + output
foo = model<string>;
fooChange = output<string>();  // or `@Output()`

becomes

fooInput = input<string>({alias: 'foo')
foo = linkedSignal(this.fooInput);

fooChange = output<string>(); 

If ever other cases arise we can improve the migration later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: migrationsIssues related to `ng update`/`ng generate` migrationsopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions