Feature request: just-in-time binding resolution through SPI
Open
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
Let's imagine that I wish to inject some values which cannot be provided to injector ahead of time. For example, I wish to provide a complex DTO based on my config values:
```
class Something @Inject() (@ConfigValue("x.y.z") value: MyValue) {...}
```
Right now I have no any sane way to do that as far as I can understand.
Though in some situations such functionality would be priceless.
Contributor guide
Assessment
This issue has not been assessed yet.