Commit graph

451 commits

Author SHA1 Message Date
Mike Bierlee 1166d2811a Add @Qualifier UDA for qualifying members typed by supertype 2014-12-13 22:06:11 +01:00
Mike Bierlee 9c749c0cb6 Check type at compile-time 2014-12-11 01:40:40 +01:00
Mike Bierlee 4be09dc821 Remove redundant word 2014-11-27 00:58:38 +01:00
Mike Bierlee 041ab1a52b Clarify example a bit 2014-11-27 00:49:20 +01:00
Mike Bierlee bc972d1371 Reqord and fix message of multiple qualifier resolve exception 2014-11-27 00:46:03 +01:00
Mike Bierlee 7b73392004 Update documentation 2014-11-27 00:45:26 +01:00
Mike Bierlee 8b9c8d2774 Add ability to resolve type which has multiple registrations by qualifier 2014-11-27 00:33:13 +01:00
Mike Bierlee d6e3043c7d Prevent multiple registrations of same super- and concrete type 2014-11-26 23:37:29 +01:00
Mike Bierlee 5d7a21ae52 Add ability to register multiple concrete classes for same supertype 2014-11-26 23:22:56 +01:00
Mike Bierlee ae139d5f1f Change names to be more unified 2014-11-26 23:03:18 +01:00
Mike Bierlee 5037b79998 Add copyright back in 2014-11-26 23:01:01 +01:00
Mike Bierlee db1f76b766 Add cautionary tale to the workaround 2014-10-25 16:56:59 +02:00
Mike Bierlee e46dfccd26 Update examples in README.md 2014-10-25 16:48:13 +02:00
Mike Bierlee 4e8555c7da Rename and deprecate "container" module 2014-10-25 16:43:32 +02:00
Mike Bierlee b2bb6f15c4 Rename "Container" -> "DependencyContainer". Deprecate use of "Container" 2014-10-25 15:24:42 +02:00
Mike Bierlee 088f5e851d Correct mistakes in CHANGES.md 2014-10-20 11:07:02 +02:00
Mike Bierlee e0436438af Add additional debug output to more clearly show the chain of dependency injection 2014-10-13 00:39:40 +02:00
Mike Bierlee 92db3c0405 Add "Autowired" alias for "Autowire" UDA to satisfy Spring habits 2014-10-12 17:41:09 +02:00
Mike Bierlee b0c880a950 Destroy registrations when clearing them, invoking their destructors 2014-10-06 13:18:32 +02:00
Mike Bierlee 16e961c43d Git ignore dub selections 2014-10-05 15:36:50 +02:00
Mike Bierlee 0af70923bf Fix version number in README 2014-10-05 14:38:57 +02:00
Mike Bierlee 2303f4b9f3 Build project as unittest on travis 2014-10-05 14:26:08 +02:00
Mike Bierlee fbb4d866a4 Use correct version of DMD and DUB in travis config 2014-10-05 14:17:15 +02:00
Mike Bierlee d7bbcd5646 Prepare release 0.1.4 2014-10-05 14:14:10 +02:00
Mike Bierlee a36ff06ae0 Update version info of DMD and DUB in readme 2014-10-05 14:04:13 +02:00
Mike Bierlee c3acabd9f2 Remove DUB warnings regarding build options
The appropriate build types need to be called in addition to build configs
2014-10-05 13:50:44 +02:00
Mike Bierlee e19564e3cf Fix incorrect clearing of registrations 2014-10-05 13:43:57 +02:00
Mike Bierlee eb203c8e3c Reword section in readme 2014-07-24 23:48:37 +02:00
Mike Bierlee 635ec7f18a Update readme section about circular dependencies 2014-07-24 23:43:56 +02:00
Mike Bierlee 1ab6327cac Fix typo in changelog 2014-07-13 17:40:46 +02:00
Mike Bierlee 5ddcff7dcd Prepare release 0.1.3 2014-07-13 17:34:44 +02:00
Mike Bierlee 50824b4e5c Remove known, unsolvable, issue
Any logical solution would endlessly autowire new instances if no stop condition is given. The current circular dependency resolution system provides such a stop condition just fine.
2014-07-10 01:12:02 +02:00
Mike Bierlee 5caf57d31d Reduce code due to type deduction 2014-07-10 01:09:36 +02:00
Mike Bierlee b38bccc03c Fix autowiring classes with non-symbolic unassignable members (such as aliases) 2014-07-09 23:15:05 +02:00
Mike Bierlee af8e154dc5 Capitalize Capital 2014-07-05 00:22:32 +02:00
Mike Bierlee edb39c6d54 Add global autowire function 2014-07-04 02:42:55 +02:00
Mike Bierlee 7dbf5ace61 Link to specific project page in package description 2014-06-23 21:13:04 +02:00
Mike Bierlee e9dbcb6d75 Prepare release 0.1.2 2014-06-23 20:51:47 +02:00
Mike Bierlee c4c57da9eb Clear all registrations after test is done 2014-06-22 17:24:08 +02:00
Mike Bierlee 627d165d6f Add mixin for boilerplate workaround 2014-06-22 17:16:07 +02:00
Mike Bierlee 06024e55db Use typeof instead 2014-06-22 16:52:50 +02:00
Mike Bierlee 7afefd9d9c Add workaround to readme 2014-06-22 16:35:08 +02:00
Mike Bierlee 47d7f72fae Add test for resolve by interface workaround 2014-06-22 16:33:15 +02:00
Mike Bierlee 17c833a114 Use auto instead of explicit type in autowiretest 2014-06-22 16:13:25 +02:00
Mike Bierlee ad0f36b19a Mark bug test-case as being a bug 2014-06-14 16:05:04 +02:00
Mike Bierlee 2db7b7644a Add build status to readme 2014-06-14 15:47:24 +02:00
Mike Bierlee 5808916bdf Add travis-ci configuration 2014-06-14 15:32:23 +02:00
Mike Bierlee e3124b53e6 Prepare release 0.1.1 2014-06-14 00:05:47 +02:00
Mike Bierlee f97a689f29 Accept defeat and recognize resolve by supertype/interface bug
For now....
2014-06-13 23:49:34 +02:00
Mike Bierlee af7d6a7872 Also autowire baseclass members 2014-06-12 01:46:05 +02:00