question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't extend IterableDiffers

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Not sure If I am missing something or it’s a bug. But if you do as follows I get “Cannot extend IterableDiffers without a parent injector” exception.

@NgModule({
  imports: [BrowserModule],
  providers: [IterableDiffers.extend([new FooIterableDifferFactory()])]
  bootstrap: [Foo]
});
export class AppModule { }

platformBrowserDynamic().bootstrapModule(AppModule);

Expected/desired behavior

It’s possible to extend default iterable differs in the application module.

Please tell us about your environment:

  • Angular version: 2.0.0-rc.6
  • Browser: [all]
  • Language: [all]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

9reactions
vicbcommented, Sep 16, 2016

just discussed with @vsavkin, we should have a solution by the next release (probably 2.0.1)

9reactions
vicbcommented, Sep 15, 2016

@htafolla I’m going to take a look asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to inject IterableDiffers "service" into a unit test
I got the issue: "Can't resolve all parameters for IterableDiffers"... I can understand the error but don't know how to solve it...the error ......
Read more >
IterableDiffers - Angular
Takes an array of IterableDifferFactory and returns a provider used to extend the inherited IterableDiffers instance with the provided factories and return a ......
Read more >
Problems with extending DataTable - Prime Community Forum
Can't bind to 'pColumnHeaders' since it isn't a known property of 'tr'. ... OnInit , ChangeDetectorRef, ElementRef, IterableDiffers, NgZone, ...
Read more >
Removing Roadblocks in the Move to Angular 4 - Lucidchart
Giving the class that used the differ a type parameter and then applying that same type to the differ ( IterableDiffer<T> ) fixed...
Read more >
Extend Volume Greyed Out? Fix Can't Extend ... - EaseUS
When extend volume greyed out in Disk Management, you can't extend volume or C drive. Are you trying to extend volume or expand...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found