You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renamed DefinitionOf to Definition and some other source-breaking refactoring. #113, @ilyapuchka
Added invalidType error when resolved instance does not implement requested type. #118, @ilyapuchka
Added optional type parameter in register methods to be able to specify type when registering using method literal instead of closure. #115, @ilyapuchka
Added implements family of methods in to Definition to register type-forwarding definitions. #114, @ilyapuchka
Simplified implementation of auto-wiring. Container now chooses the definition for type with most number of arguments and does not use other definitions if this one fails to resolve. #117, @ilyapuchka
Fixed
Auto-injected properties inherited from super class are now properly injected when resolving subclass.
Added resolveDependencies(_:DependencyContainer) method to Resolvable protocol to handle inheritance when resolving. #116, @ilyapuchka