The goal of this improvement is to add compile time type-safety to dependency injection of Lists and Maps.
Proposed changes in DI API:
Add following methods in Binder interface
And deprecate non type-safe methods:
If Cayenne DI is used in third-party code (custom modules or Cayenne modifications) the code should be updated if bindings other than List<Object> and Map<String, Object> were used, as this code will be broken.