angular/packages/compiler-cli/src/ngtsc
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
..
annotations fix(ivy): support schemas at runtime (#28637) 2019-02-14 19:31:51 +00:00
cycles feat(ivy): cycle detector for TypeScript programs (#28169) 2019-01-28 12:10:25 -08:00
diagnostics feat(ivy): support @Injectable on already decorated classes (#28523) 2019-02-13 19:13:10 -08:00
entry_point fix(ivy): ngtsc fails building flat module out on windows (#27993) 2019-01-22 11:49:53 -08:00
imports feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
partial_evaluator feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
path feat(ivy): introduce concrete types for paths in ngtsc (#28523) 2019-02-13 19:13:11 -08:00
reflection build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
routing feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
shims build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
switch build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
testing refactor(ivy): prep ngtsc and ngcc for upcoming import resolution work (#27743) 2019-01-08 16:36:18 -08:00
transform feat(ivy): support @Injectable on already decorated classes (#28523) 2019-02-13 19:13:10 -08:00
translator feat(ivy): compile @Injectable on classes not meant for DI (#28523) 2019-02-13 19:13:10 -08:00
typecheck feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
util feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
program.ts feat(ivy): use fileNameToModuleName to emit imports when it's available (#28523) 2019-02-13 19:13:11 -08:00
resource_loader.ts refactor(ivy): expose resolving URLs in the ResourceLoader (#28199) 2019-01-18 11:03:53 -08:00
synthetic_files_compiler_host.ts build: update to rules_typescript 0.23.2 and rules_nodejs 0.16.8 (#28532) 2019-02-05 16:55:43 -05:00
tsc_plugin.ts build: update to rules_typescript 0.23.2 and rules_nodejs 0.16.8 (#28532) 2019-02-05 16:55:43 -05:00