angular-cn/packages/core/test/bundling
Pete Bacon Darwin 641c671bac fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732)
The `ngInjectableDef` property was renamed to `ɵprov`, but core must
still support both because there are published libraries that use the
older term.

We are only interested in such properties that are defined directly on
the type being injected, not on base classes. So there is a check that
the defintion is specifically for the given type.

Previously if you tried to inject a class that had `ngInjectableDef` but
also inherited `ɵprov` then the check would fail on the `ɵprov` property
and never even try the `ngInjectableDef` property resulting in a failed
injection.

This commit fixes this by attempting to find each of the properties
independently.

Fixes https://github.com/angular/ngcc-validation/pull/526

PR Close #33732
2019-11-12 11:54:15 -08:00
..
animation_world build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
core_all ci: update size benchmarks for core with 9.0.0-next.8 (#32947) 2019-10-02 13:22:36 -07:00
cyclic_import fix(ivy): ensure that the correct `document` is available (#33712) 2019-11-11 14:01:04 -08:00
hello_world fix(ivy): ensure that the correct `document` is available (#33712) 2019-11-11 14:01:04 -08:00
hello_world_i18n build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
hello_world_r2 build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
injection fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732) 2019-11-12 11:54:15 -08:00
todo fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732) 2019-11-12 11:54:15 -08:00
todo_i18n feat(ivy): type checking of event bindings (#33125) 2019-10-18 14:41:53 -04:00
todo_r2 build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
util test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00