InstallIn custom component
jakoss opened this issue ยท 3 comments
jakoss commented
For now, installIn requires usage of Component
enum. I have to install my class in custom component. Can i do that right now? If not - i think it's crucial to have this. In my case - i'm trying to get rid of boilerplate when using Maverics with Hilt. I have such component:
@MavericksViewModelScoped
@DefineComponent(parent = SingletonComponent::class)
interface MavericksViewModelComponent
mars885 commented
First of all, thanks for the feedback.
You are right in that custom components are not supported by the library at this moment. However, I'm definitely planning to add support for them in the upcoming release.
mars885 commented
Custom components are now supported in the 1.0.0-alpha02
version. See changelog for more info.
jakoss commented
Works perfectly, thank you!