angular-cn/packages
Alex Rickabaugh 492576114d feat(ivy): generator of setClassMetadata statements for Angular types (#26860)
This commit introduces generateSetClassMetadataCall(), an API in ngtsc
for generating calls to setClassMetadata() for a given declaration. The
reflection API is used to enumerate Angular decorators on the declaration,
which are converted to a format that ReflectionCapabilities can understand.
The reflection metadata is then patched onto the declared type via a call
to setClassMetadata().

This is simply a utility, a future commit invokes this utility for
each DecoratorHandler.

Testing strategy: tests are included which exercise generateSetClassMetadata
in isolation.

PR Close #26860
2018-10-31 19:52:36 -04:00
..
animations test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
bazel build(bazel): generalize fix for AMD name for flat module out file (#26837) 2018-10-30 18:37:12 -04:00
benchpress test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
common build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
compiler feat(ivy): setClassMetadata() for assigning decorator metadata (#26860) 2018-10-31 19:52:36 -04:00
compiler-cli feat(ivy): generator of setClassMetadata statements for Angular types (#26860) 2018-10-31 19:52:36 -04:00
core feat(ivy): setClassMetadata() for assigning decorator metadata (#26860) 2018-10-31 19:52:36 -04:00
docs
elements build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
examples build: upgrade `@types/jasminewd2` to 2.0.4 (#26139) 2018-10-12 14:11:11 -07:00
forms build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
http build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
language-service test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
platform-browser build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
platform-browser-dynamic test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
platform-server test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
platform-webworker build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
platform-webworker-dynamic test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
private/testing docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
router feat(router): guard returning UrlTree cancels current navigation and redirects (#26521) 2018-10-31 19:51:50 -04:00
service-worker test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
upgrade build: rename the ivy compile mode 'local' to 'aot' (#26686) 2018-10-23 14:14:49 -07:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts
es6-subset.d.ts build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
goog.d.ts fix(compiler): add typings for `COMPILED`. 2017-09-29 09:26:38 -07:00
license-banner.txt docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-metadata.json fix(compiler): Fix look up of entryComponents in AOT Summaries (#24892) 2018-09-11 16:23:17 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json fix(compiler): Fix look up of entryComponents in AOT Summaries (#24892) 2018-09-11 16:23:17 -07:00
types.d.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT