angular/packages/core/schematics
Andrew Scott d4c8a9a887 refactor(compiler-cli): decouple SymbolBuilder from BoundTarget and minimize adapter surface
Decouple `SymbolBuilder` from the full `BoundTarget` interface by introducing a purpose-built `SymbolBoundTarget` interface containing only the 4 methods required for symbol resolution. This eliminates the need for the large, pass-through `BoundTargetAdapter` and further isolates `SymbolBuilder` from compiler-internal implementation details.

Also minimize `TypeCheckableDirectiveMetaAdapter` by redefining `SymbolDirectiveMeta` to not extend `DirectiveMeta`, exposing only the properties actually used by `SymbolBuilder`.

Removed dead code `getDirectiveMeta` in `template_symbol_builder.ts` which was unused.

These changes improve maintainability and ensure a cleaner architecture by strictly defining the boundaries of what `SymbolBuilder` needs from the rest of the system.
By limiting the required inputs to only what's necessary for the implementation, we make it easier to re-use
the implementation between different compiler architectures
2026-04-08 11:59:42 -07:00
..
migrations refactor(compiler-cli): decouple TemplateSymbolBuilder from ts.TypeChecker 2026-04-07 14:51:37 -07:00
ng-generate refactor(compiler-cli): decouple SymbolBuilder from BoundTarget and minimize adapter surface 2026-04-08 11:59:42 -07:00
test fix(core): resolve component import by exact specifier in route lazy-loading schematic 2026-04-01 09:24:13 +02:00
utils feat(compiler): Exhaustive checks for switch blocks 2026-02-17 10:25:31 -08:00
BUILD.bazel feat(migrations): Adds support for CommonModule to standalone migration (#64138) 2025-10-15 10:37:37 -07:00
collection.json feat(migrations): Adds support for CommonModule to standalone migration (#64138) 2025-10-15 10:37:37 -07:00
migrations.json refactor(core): run control-flow migration by default (#64136) 2025-10-01 11:51:33 -04:00
rollup.config.js docs: update copyright year 2026-01-07 12:28:34 -05:00
tsconfig-test.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00