Can't extend IterableDiffers
See original GitHub issueI’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:
- Created 7 years ago
- Reactions:2
- Comments:20 (9 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
just discussed with @vsavkin, we should have a solution by the next release (probably 2.0.1)
@htafolla I’m going to take a look asap.