angular/packages/compiler-cli/src/ngtsc
Alex Rickabaugh 0677cf0cbe feat(ivy): use the schema registry to check DOM bindings (#32171)
Previously, ngtsc attempted to use the .d.ts schema for HTML elements to
check bindings to DOM properties. However, the TypeScript lib.dom.d.ts
schema does not perfectly align with the Angular DomElementSchemaRegistry,
and these inconsistencies would cause issues in apps. There is also the
concern of supporting both CUSTOM_ELEMENTS_SCHEMA and NO_ERRORS_SCHEMA which
would have been very difficult to do in the existing system.

With this commit, the DomElementSchemaRegistry is employed in ngtsc to check
bindings to the DOM. Previous work on producing template diagnostics is used
to support generation of this different kind of error with the same high
quality of error message.

PR Close #32171
2019-08-22 10:12:45 -07:00
..
annotations feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
cycles refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
diagnostics feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
entry_point refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
file_system test(ivy): ensure that runInEachFileSystem cleans up after itself (#31544) 2019-07-23 21:11:39 -07:00
imports fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
incremental fix(ivy): Support selector-less directive as base classes (#32125) 2019-08-20 09:56:54 -07:00
indexer docs(ivy): Add README to indexer module (#31260) 2019-07-31 11:37:11 -07:00
metadata feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
partial_evaluator fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
perf refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
reflection fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
routing build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
scope feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
shims refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
switch build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
testing refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
transform feat(ivy): integrate indexing pipeline with NgtscProgram (#31151) 2019-06-24 18:47:56 -07:00
translator fix(ivy): ngtsc - do not wrap arguments unnecessarily (#30349) 2019-05-17 09:55:46 -07:00
typecheck feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
util feat(ivy): translate type-check diagnostics to their original source (#30181) 2019-07-25 16:36:32 -07:00
program.ts feat(ivy): use the schema registry to check DOM bindings (#32171) 2019-08-22 10:12:45 -07:00
resource_loader.ts fix(ivy): handle rooted resource paths correctly (#31511) 2019-07-11 11:42:33 -04:00
synthetic_files_compiler_host.ts feat: add support for TypeScript 3.3 (and drop older versions) (#29004) 2019-03-13 10:38:37 -07:00
tsc_plugin.ts refactor(ivy): use ClassDeclaration in more ReflectionHost methods (#29209) 2019-03-21 22:20:23 +00:00