angular/packages/core/test/linker
Andrew Kushnir a9afe629c7 feat(ivy): allow non-unique #localRefs to be defined in a template (#28627)
Prior to this change in Ivy we had strict check that disabled non-unique #localRefs usage within a given template. While this limitation was technically present in View Engine, in many cases View Engine neglected this restriction and as a result, some apps relied on a fact that multiple non-unique #localRefs can be defined and utilized to query elements via @ViewChild(ren) and @ContentChild(ren). In order to provide better compatibility with View Engine, this commit removes existing restriction.

As a part of this commit, are few tests were added to verify VE and Ivy compatibility in most common use-cases where multiple non-unique #localRefs were used.

PR Close #28627
2019-02-11 14:51:31 -08:00
..
change_detection_integration_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
entry_components_integration_spec.ts test(ivy): ComponentFactoryResolver can resolve any component factory in Ivy (#28465) 2019-01-31 15:55:31 -05:00
inheritance_integration_spec.ts fix(ivy): proper component resolution in case of inheritance (#28439) 2019-02-05 23:29:04 -05:00
integration_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
jit_summaries_integration_spec.ts test(ivy): mark jit_summaries_integration_spec as obsolete in Ivy (#28027) 2019-01-09 15:38:48 -08:00
ng_container_integration_spec.ts test(ivy): mark changed behaviour for queries and ng-container (#27977) 2019-01-08 10:37:39 -08:00
ng_module_integration_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
projection_integration_spec.ts fix(ivy): content projection with Shadow DOM not working (#28261) 2019-01-23 15:05:12 -08:00
query_integration_spec.ts feat(ivy): allow non-unique #localRefs to be defined in a template (#28627) 2019-02-11 14:51:31 -08:00
query_list_spec.ts fix(core): ensure initial value of QueryList length (#21980) (#21982) 2018-02-07 12:08:44 -08:00
regression_integration_spec.ts fix(ivy): errors not being logged to ErrorHandler (#28447) 2019-02-04 16:48:14 -05:00
security_integration_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
source_map_integration_node_only_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
system_ng_module_factory_loader_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
view_injector_integration_spec.ts test(ivy): run view_injector_integration tests on node (#28593) 2019-02-08 09:25:50 -08:00