You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Singleton is processed and we create relaxed factories in case it is annotating a class.
But it's not the case for custom scope annotations (like context singleton). I don't think we can actually do that without saying that the annotation processor should intercept every annotation, which is considered a bad practice. Maybe we can have a look at Dagger 2 and see how they deal with this as they also have custom scopes working well.
The text was updated successfully, but these errors were encountered:
Singleton is processed and we create relaxed factories in case it is annotating a class.
But it's not the case for custom scope annotations (like context singleton). I don't think we can actually do that without saying that the annotation processor should intercept every annotation, which is considered a bad practice. Maybe we can have a look at Dagger 2 and see how they deal with this as they also have custom scopes working well.
The text was updated successfully, but these errors were encountered: