angular/packages/core/test/render3
Alex Rickabaugh 79466baef8 fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203)
Previously in Ivy, metadata for directives/components/modules/etc was
carried in .d.ts files inside type information encoded on the
DirectiveDef, ComponentDef, NgModuleDef, etc types of Ivy definition
fields. This works well, but has the side effect of complicating Ivy's
runtime code as these extra generic type parameters had to be specified
as <any> throughout the codebase. *DefInternal types were introduced
previously to mitigate this issue, but that's the wrong way to solve
the problem.

This commit returns *Def types to their original form, with no metadata
attached. Instead, new *DefWithMeta types are introduced that alias the
plain definition types and add extra generic parameters. This way the
only code that needs to deal with the extra metadata parameters is the
compiler code that reads and writes them - the existence of this metadata
is transparent to the runtime, as it should be.

PR Close #26203
2018-10-04 10:11:17 -07:00
..
compiler_canonical fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
ivy fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
jit feat(ivy): Add InheritanceDefinitionFeature to support directive inheritance (#24570) 2018-06-29 06:42:40 -07:00
styling feat(ivy): compiler support to generate QUERY_READ_FROM_NODE calls (#26171) 2018-10-03 12:28:23 -07:00
basic_perf.ts refactor(ivy): generate vars in component defs (#25562) 2018-08-20 11:08:10 -07:00
BUILD.bazel build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 (#25920) 2018-09-18 13:05:38 -07:00
change_detection_spec.ts fix(ivy): objects like ElementRef should not use a special injection fn (#26064) 2018-09-25 12:51:29 -07:00
common_integration_spec.ts fix(ivy): wrapper fns arent necessary anymore (#26108) 2018-09-26 00:03:16 -07:00
common_with_def.ts fix(ivy): objects like ElementRef should not use a special injection fn (#26064) 2018-09-25 12:51:29 -07:00
component_spec.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
content_spec.ts fix(ivy): objects like ElementRef should not use a special injection fn (#26064) 2018-09-25 12:51:29 -07:00
control_flow_spec.ts refactor(ivy): generate vars in component defs (#25562) 2018-08-20 11:08:10 -07:00
di_spec.ts refactor(ivy): flatten LInjector into LViewData (#26220) 2018-10-03 15:27:57 -07:00
directive_spec.ts fix(ivy): register to directive outputs on ng-template / ng-container (#25698) 2018-08-30 21:22:01 -07:00
discovery_utils_spec.ts feat(ivy): add ability to inspect local refs through context discovery (#26117) 2018-09-27 12:00:53 -07:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
exports_spec.ts fix(ivy): create LViewData from blueprint (#25587) 2018-08-22 15:58:42 -04:00
i18n_spec.ts fix(ivy): create LViewData from blueprint (#25587) 2018-08-22 15:58:42 -04:00
imported_renderer2.ts refactor(ivy): misc cleanup (#25369) 2018-08-14 11:58:47 -07:00
Inherit_definition_feature_spec.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
instructions_spec.ts refactor(ivy): remove LNode.tNode (#25958) 2018-09-14 16:16:28 -07:00
integration_spec.ts refactor(ivy): reorganize styling and player files (#26149) 2018-10-01 09:35:22 -07: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): create LViewData from blueprint (#25587) 2018-08-22 15:58:42 -04:00
listeners_spec.ts fix(ivy): events should not mark views dirty by default (#25969) 2018-09-17 13:02:39 -07:00
load_domino.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
ng_on_changes_feature_spec.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
node_selector_matcher_spec.ts refactor(ivy): replace pNextOrParent with TNode props (#24752) 2018-07-10 11:12:27 -07:00
outputs_spec.ts refactor(ivy): generate vars in component defs (#25562) 2018-08-20 11:08:10 -07:00
perfCounter_spec.ts perf(ivy): add performance counters in ngDevMode (#23385) 2018-05-01 10:27:40 -07:00
pipe_spec.ts fix(ivy): create LViewData from blueprint (#25587) 2018-08-22 15:58:42 -04:00
properties_spec.ts fix(ivy): host bindings should support array/object literals (#25583) 2018-08-21 10:48:42 -07:00
pure_function_spec.ts fix(ivy): create LViewData from blueprint (#25587) 2018-08-22 15:58:42 -04:00
query_list_spec.ts feat(ivy): implement ViewContainerRef.remove (#24221) 2018-06-05 13:33:40 -07:00
query_spec.ts feat(ivy): compiler support to generate QUERY_READ_FROM_NODE calls (#26171) 2018-10-03 12:28:23 -07:00
render_util.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
renderer_factory_spec.ts feat(ivy): bridge component styles into the component renderer (#25255) 2018-08-23 16:51:15 -04:00
testing_spec.ts refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
util_spec.ts fix(ivy): use devModeEqual in no change mode (#25252) 2018-08-02 22:57:28 -07:00
view_container_ref_spec.ts fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00