sting-ioc / sting

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

Generate a suppressable warning if an sting provider is included in injector but unused #38

Closed realityforge closed 4 years ago

realityforge commented 4 years ago

Including a sting provider 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 #37 for similar issues

realityforge commented 4 years ago

Decided to make this an error rather than a warning