sting-ioc / sting

Home Page:https://sting-ioc.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only allow @ContributeTo annotations on sting types

realityforge opened this issue · comments

Allow @ContributeTo annotations when the type has a @StingProvider or @ActAsStingComponent annotation else not. We want to do things like allow a @ReactComponent or @ArezComponent annotated type to copy the @ContributeTo annotation to the generated subclasses so that the ultimate binding can be collected.

We were already enforcing that @ContributeTo was only used by @Injectable and @StingProvider types. Added support for @ActAsStingComponent in 18eb589