sting-ioc / sting

https://sting-ioc.github.io
Apache License 2.0
8 stars 0 forks source link

Generate a suppressable warning if a fragment is included in injector but unused #37

Closed realityforge closed 4 years ago

realityforge commented 4 years ago

Including a fragment in an injector seems to imply it should be used thus warning the user that it is unused has value.

However, implementing this will involve tracking which root includes ultimately caused a binding.

See #36 and #38 for similar issues

realityforge commented 4 years ago

Decided to make this an error rather than a warning