angular-cn/packages/core/test/linker
Kara Erickson a4638d5a81 fix(ivy): support static ViewChild queries (#28811)
This commit adds support for the `static: true` flag in
`ViewChild` queries. Prior to this commit, all `ViewChild`
queries were resolved after change detection ran. This is
a problem for backwards compatibility because View Engine
also supported "static" queries which would resolve before
change detection.

Now if users add a `static: true` option, the query will be
resolved in creation mode (before change detection runs).
For example:

```ts
@ViewChild(TemplateRef, {static: true}) template !: TemplateRef;
```

This feature will come in handy for components that need
to create components dynamically.

PR Close #28811
2019-02-19 15:29:00 -08:00
..
change_detection_integration_spec.ts test(ivy): ivy change detection doesn't descend into CD-detached view trees (#28680) 2019-02-13 12:12:26 -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): support schemas at runtime (#28637) 2019-02-14 19:31:51 +00: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 fix(ivy): support static ViewChild queries (#28811) 2019-02-19 15:29:00 -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 test(ivy): mark unknown binding test modifiedInIvy (#28740) 2019-02-16 20:58:25 -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