-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Injectable Issue #88
Comments
@Jaew00Shin Hi, can you elaborate little bit more what are you trying to achieve? |
In now version, I can set just boolean value for useInjectable. But I want to choose freely the annotation, whether it is injectable, singleton or lazy singleton. In now version,
After applying what I want,
The key point is that the value of useInjectable should be more customable. |
@Jaew00Shin , ah, I see… That is for sure not possible right now, and unfortunately, based on activity with issues and PRs, I am unsure whether these changes will be implemented or merged soon. |
Hello, I am going to apply smartstruct packages to my company projects. I am using freezed & injectable.
I want you to add a new feature for smartstruct with injectable.
This code is what I have written.
I want to convert my UserMapper class to same one with smart struct.
I have a problem with now version of smart struct. 1.4.0
User & UserRes class is composed of freezed.
If I apply smart struct to this code, I should change UserMapper to abstract class.
And I also would set useInjectable to true.
Then UserMapperImpl class generated by build_runner would have a @LazySingleton(as: UserMapper).
I want to custom value of as. not UserMapper but Mappable<User, UserRes>
I hope you to add this feature that custom injectable properties.
The text was updated successfully, but these errors were encountered: