angular-cn/packages/core/schematics
Paul Gschwendtner c24ad560fa feat(core): undecorated-classes migration should handle derived abstract classes (#35339)
In version 10, undecorated base classes that use Angular features need
to be decorated explicitly with `@Directive()`. Additionally, derived
classes of abstract directives need to be decorated.

The migration already handles this for undecorated classes that are
not explicitly decorated, but since in V9, abstract directives can be
used, we also need to handle this for explicitly decorated abstract
directives. e.g.

```
@Directive()
export class Base {...}

// needs to be decorated by migration when updating from v9 to v10
export class Wrapped extends Base {}

@Component(...)
export class Cmp extends Wrapped {}
```

PR Close #35339
2020-04-02 10:51:49 -07:00
..
migrations feat(core): undecorated-classes migration should handle derived abstract classes (#35339) 2020-04-02 10:51:49 -07:00
test feat(core): undecorated-classes migration should handle derived abstract classes (#35339) 2020-04-02 10:51:49 -07:00
utils feat(core): undecorated-classes migration should handle derived abstract classes (#35339) 2020-04-02 10:51:49 -07:00
BUILD.bazel build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34736) 2020-01-15 14:58:07 -05:00
migrations.json refactor(core): update missing-injectable migration description to match guide (#34125) 2019-12-02 11:21:50 -08:00
tsconfig.json feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00