angular-docs-cn/packages
Alex Rickabaugh 9e5016c845 feat(ivy): DynamicValue now indicates why the value is dynamic (#27697)
This commit changes the partial evaluation mechanism to propagate
DynamicValue errors internally during evaluation, and not to "poison"
entire data structures when a single value is dynamic. For example,
previously if any entry in an array was dynamic, evaluating the entire
array would return DynamicValue. Now, the array is returned with only
the specific dynamic entry as DynamicValue.

Instances of DynamicValue also report the node that was determined to
be dynamic, as well as a potential reason for the dynamic-ness. These
can be nested, so an expression `a + b` may have a DynamicValue that
indicates the 'a' term was DynamicValue, which will itself contain a
reason for the dynamic-ness.

This work was undertaken for the implementation of listLazyRoutes(),
which needs to partially evaluate provider arrays, parts of which are
dynamic and parts of which contain useful information.

PR Close #27697
2019-01-22 12:02:09 -08:00
..
animations build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
bazel build(bazel): Use local rollup & build-optimizer for ng_rollup_bundle (#28215) 2019-01-18 09:07:52 -08:00
benchpress build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
common build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
compiler build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
compiler-cli feat(ivy): DynamicValue now indicates why the value is dynamic (#27697) 2019-01-22 12:02:09 -08:00
core fix(ivy): add missging getDirectives export (#28259) 2019-01-22 11:43:52 -08:00
docs
elements build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
examples docs: ngComponentOutlet doc updated with new Injector creation (#27291) 2019-01-14 10:36:02 -08:00
forms build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
http build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
language-service build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-browser build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-browser-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-server refactor: remove unused case in switch statement (#28253) 2019-01-22 09:44:35 -08:00
platform-webworker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-webworker-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
private/testing ci: onlyInIvy tests should not be triggered for FIND_PASSING_TESTS mode (#28036) 2019-01-10 10:55:58 -08:00
router build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
service-worker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
upgrade build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08: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: fix our copy of Array#find typing (#27742) 2018-12-19 15:11:52 -05:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08: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-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