angular-cn/packages/core/test/acceptance
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
..
BUILD.bazel test(ivy): move some local ref tests to use TestBed infrastructure. (#28534) 2019-02-05 23:31:08 -05:00
content_spec.ts fix(ivy): extended next pointer lookup while traversing tNode tree (#28533) 2019-02-07 12:37:13 -08:00
exports_spec.ts feat(ivy): allow non-unique #localRefs to be defined in a template (#28627) 2019-02-11 14:51:31 -08:00
query_spec.ts feat(ivy): allow non-unique #localRefs to be defined in a template (#28627) 2019-02-11 14:51:31 -08:00