angular-cn/packages/core/test/render3
Kristiyan Kostadinov 80a5934af6 fix(ivy): support schemas at runtime (#28637)
Accounts for schemas in when validating properties in Ivy.

This PR resolves FW-819.

A couple of notes:
* I had to rework the test slightly, in order to have it fail when we expect it to. The one in master is passing since Ivy's validation runs during the update phase, rather than creation.
* I had to deviate from the design in FW-819 and not add an `enableSchema` instruction, because the schema is part of the `NgModule` scope, however the scope is only assigned to a component once all of the module's declarations have been resolved and some of them can be async. Instead, I opted to have the `schemas` on the component definition.

PR Close #28637
2019-02-14 19:31:51 +00:00
..
ivy refactor(ivy): combine contentQueries and contentQueriesRefresh functions (#28503) 2019-02-13 12:01:32 -08:00
jit fix(core): Remove static dependency from @angular/core to @angular/compiler (#26734) 2018-10-31 14:15:06 -04:00
styling fix(ivy): support schemas at runtime (#28637) 2019-02-14 19:31:51 +00:00
BUILD.bazel build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
basic_perf.ts refactor(ivy): generate vars in component defs (#25562) 2018-08-20 11:08:10 -07:00
change_detection_spec.ts fix(ivy): mark views dirty by default when events fire (#28474) 2019-02-01 15:48:06 -05:00
common_integration_spec.ts fix(ivy): provide an ability to match <ng-template> tags (#27636) 2018-12-17 09:33:37 -08:00
common_with_def.ts fix(ivy): NgOnChangesFeature no longer included in hello_world (#28187) 2019-01-23 10:59:34 -08:00
component_ref_spec.ts fix(ivy): pass ngContentSelectors through to `defineComponent()` calls (#27867) 2019-01-10 13:36:37 -08:00
component_spec.ts fix(core): remove createInjector() from public API (#28509) 2019-02-04 16:54:26 -05:00
content_spec.ts fix(ivy): extended next pointer lookup while traversing tNode tree (#28533) 2019-02-07 12:37:13 -08:00
control_flow_spec.ts fix(ivy): process creation mode deeply before running update mode (#27744) 2018-12-19 15:10:16 -05:00
di_spec.ts fix(ivy): support schemas at runtime (#28637) 2019-02-14 19:31:51 +00:00
directive_spec.ts fix(ivy): provide an ability to match <ng-template> tags (#27636) 2018-12-17 09:33:37 -08:00
discovery_utils_spec.ts fix(core): remove createInjector() from public API (#28509) 2019-02-04 16:54:26 -05:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
exports_spec.ts test(ivy): move some local ref tests to use TestBed infrastructure. (#28534) 2019-02-05 23:31:08 -05:00
global_utils_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
host_binding_spec.ts refactor(ivy): combine contentQueries and contentQueriesRefresh functions (#28503) 2019-02-13 12:01:32 -08:00
i18n_spec.ts fix(ivy): remove nested placeholders with i18n (#28595) 2019-02-07 16:56:36 -08:00
imported_renderer2.ts refactor(ivy): misc cleanup (#25369) 2018-08-14 11:58:47 -07:00
inherit_definition_feature_spec.ts refactor(ivy): combine contentQueries and contentQueriesRefresh functions (#28503) 2019-02-13 12:01:32 -08:00
instructions_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
integration_spec.ts feat(ivy): provide support for map-based host bindings for [style] and [class] (#28246) 2019-02-11 16:21:19 -08:00
jit_environment_spec.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
lifecycle_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
listeners_spec.ts fix(ivy): adding event listeners for global objects (window, document, body) (#27772) 2019-01-08 10:33:17 -08:00
load_domino.ts fix(core): Remove static dependency from @angular/core to @angular/compiler (#26734) 2018-10-31 14:15:06 -04:00
metadata_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
node_selector_matcher_spec.ts refactor(ivy): clean up TNode not depending on LView (#28354) 2019-01-25 13:07:26 -08:00
outputs_spec.ts refactor(ivy): generate vars in component defs (#25562) 2018-08-20 11:08:10 -07:00
perfCounter_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
pipe_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
properties_spec.ts fix(ivy): support multiple exportAs (#27996) 2019-01-10 16:53:26 -08:00
providers_spec.ts fix(core): remove createInjector() from public API (#28509) 2019-02-04 16:54:26 -05:00
pure_function_spec.ts fix(ivy): provide an ability to match <ng-template> tags (#27636) 2018-12-17 09:33:37 -08:00
query_spec.ts refactor(ivy): combine contentQueries and contentQueriesRefresh functions (#28503) 2019-02-13 12:01:32 -08:00
render_util.ts fix(ivy): ensure host bindings and host styling works on a root component (#28664) 2019-02-14 19:23:25 +00:00
renderer_factory_spec.ts fix(ivy): don't create TNodes for native projectable nodes (#28275) 2019-01-23 10:56:09 -08:00
template_ref_spec.ts fix(ivy): provide an ability to match <ng-template> tags (#27636) 2018-12-17 09:33:37 -08:00
testing_spec.ts refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
util_spec.ts refactor(ivy): treate LView as the primary global state (#27282) 2018-11-29 21:26:15 -08:00
view_container_ref_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00