northwoods / container

Container wrapper for Auryn dependency injector
MIT License
9 stars 3 forks source link

Delegators not working correctly #14

Closed gdsmith closed 6 years ago

gdsmith commented 6 years ago

Seems like delegators in zend-expressive should map to Auryn's Injector::prepare. The current implementation is only coupled to factories and invokables and doesn't allow you to use a delegator on it's own.

gdsmith commented 6 years ago

I see there are issues with the expected implementation of delegators that doesn't fit with how Auryn prepare works. Will it be possible to at least get delegators working for classes that don't have factories?

shadowhand commented 6 years ago

I am using zend-container-config-test and all tests are passing. If there is a missing feature from those tests, please report it there.