angular-docs-cn/packages/core/test/change_detection/differs
Misko Hevery 5fc45082ca fix(core): Support extending differs from root `NgModule` (#39981)
Differs tries to inject parent differ in order to support extending.
This does not work in the 'root' injector as the provider overrides the
default injector. The fix is to just assume standard set of providers
and extend those instead.

PR close #25015
Issue close #11309 `Can't extend IterableDiffers`
Issue close #18554 `IterableDiffers.extend is not AOT compatible`
  (This is fixed because we no longer have an arrow function in the
  factory but a proper function which can be imported.)

PR Close #39981
2020-12-07 09:51:27 -08:00
..
default_iterable_differ_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
default_keyvalue_differ_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
iterable_differs_spec.ts fix(core): Support extending differs from root `NgModule` (#39981) 2020-12-07 09:51:27 -08:00
keyvalue_differs_spec.ts fix(core): Support extending differs from root `NgModule` (#39981) 2020-12-07 09:51:27 -08:00