angular-cn/packages/core/test
Alex Rickabaugh 6472661ae8 refactor(ivy): avoid circular dep with query/di/instructions (#21430)
To prepare for pending ngForOf work, the dep from instructions -> query
should be broken. This will enable a dep from di -> instructions while
avoiding a di -> instructions -> query -> di cycle.

Analyzing this cycle also uncovered another problem: the implementation
of query() breaks tree-shaking through a hard dependency on DI concepts
of TemplateRef, ElementRef, ViewContainerRef. This is fundamentally due
to how query() can query for those values without any configuration.

Instead, this fix introduces the concept by employing the strategy
pattern, and redefining QueryReadType to pass a function which will
return one of the above values. This strategy is then used for 'read'
instead of an enum in cases where special values should be read from
the DI system.

PR Close #21430
2018-01-23 12:54:39 -08:00
..
animation build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
change_detection build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
debug build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
di build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
dom build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
linker build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
metadata build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
reflection build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
render3 refactor(ivy): avoid circular dep with query/di/instructions (#21430) 2018-01-23 12:54:39 -08:00
testability Revert "fix(core): fix chained http call (#20924)" 2018-01-17 15:28:21 -08:00
util build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
view feat(core): add binding name to content changed error (#20352) 2018-01-17 07:16:40 -08:00
zone build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
BUILD.bazel build: Remove angular_src nested workspace (#21096) 2018-01-19 10:17:37 -08:00
application_init_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
application_module_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
application_ref_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
component_fixture_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
dev_mode_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
directive_lifecycle_integration_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
error_handler_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
event_emitter_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
fake_async_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
forward_ref_integration_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
testing_internal_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
util_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00