gbrlsnchs/material2-carousel

Material deep imports

gabrieltaets opened this issue · 2 comments

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

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.

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.