gbrlsnchs / material2-carousel

A carousel component for Angular using Material
https://gsr.dev/material2-carousel
MIT License
85 stars 118 forks source link

Material deep imports #44

Open gabrieltaets opened 4 years ago

gabrieltaets commented 4 years ago

In order to be compliant with Angular Material v9, the dependencies must be deeply imported, otherwise once projects update to Angular 9 and Angular Material v9, the build will break. See https://github.com/angular/components/releases/tag/9.0.0-next.0

ralftar commented 4 years ago

Got this warning in Angular 9. Same isssue?

DEPRECATED: DI is instantiating a token "MatCarouselHammerConfig" that inherits its @Injectable decorator but does not provide one itself. This will become an error in v10. Please add @Injectable() to the "MatCarouselHammerConfig" class.

HDeiro commented 4 years ago

It still an issue. I'm using the current version 0.6.0 and I keep receiving this message in console:

DEPRECATED: DI is instantiating a token "MatCarouselHammerConfig" that inherits its @Injectable decorator but does not provide one itself. This will become an error in v10. Please add @Injectable() to the "MatCarouselHammerConfig" class.