angular/packages/compiler/test/render3
Kristiyan Kostadinov 4eb0165750 fix(compiler): remove support for unassignable expressions in two-way bindings (#55342)
Two-way bindings are meant to represent a property binding to an input and an event binding to an output, e.g. `[(ngModel)]="foo"` represents `[ngModel]="foo" (ngModelChange)="foo = $event"`. Previously due to a quirk in the template parser, we accidentally supported unassignable expressions in two-way bindings.

In #54154 the quirk was fixed, but we kept support or some common expression because of internal usages. Now the internal usages have been cleaned up so the backwards-compatibility code can be deleted.

Externally a migration was added in #54630 that will automatically fix any places that depended on the old behavior.

BREAKING CHANGE:
Angular only supports writable expressions inside of two-way bindings.

PR Close #55342
2024-04-16 17:26:09 +02:00
..
util refactor(compiler-cli): capture ng-content children in AST (#54854) 2024-03-26 09:17:58 -07:00
view refactor(compiler): Delete TemplateDefinitionBuilder and helpers (#54757) 2024-03-08 16:51:01 -08:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
r3_ast_absolute_span_spec.ts fix(compiler): compute correct offsets when interpolations have HTML entities (#44811) 2022-03-08 10:23:07 -08:00
r3_ast_spans_spec.ts refactor(compiler-cli): capture ng-content children in AST (#54854) 2024-03-26 09:17:58 -07:00
r3_template_transform_spec.ts fix(compiler): remove support for unassignable expressions in two-way bindings (#55342) 2024-04-16 17:26:09 +02:00
README.md feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
style_parser_spec.ts refactor(compiler): Delete TemplateDefinitionBuilder and helpers (#54757) 2024-03-08 16:51:01 -08:00

Tests in this directory are excluded from running in the browser and only run in node.