Commit graph

147 commits

Author SHA1 Message Date
Mike Bierlee 6fbb313743 Add ddocs.org friendly index page 2015-02-28 14:52:13 +01:00
Mike Bierlee 3b141d41b7 Link to issue tracker in README 2015-02-27 23:03:35 +01:00
Mike Bierlee 83ad8c64c0 Add test that asserts whether autowiring a class that depends on itself works. 2015-02-23 20:01:44 +01:00
Mike Bierlee 89d82efb11 Refactor getting existing registration to separate function 2015-02-22 19:11:38 +01:00
Mike Bierlee 1123aa0ef9 Escape chevrons 2015-02-21 17:55:14 +01:00
Mike Bierlee aac43cca15 Add building instructions for examples 2015-02-21 17:53:15 +01:00
Mike Bierlee 9b3307bb7a Link to examples in the README 2015-02-21 17:53:04 +01:00
Mike Bierlee 2a69cb4757 Add example where qualifiers are used 2015-02-21 17:48:55 +01:00
Mike Bierlee a41bfe8ac4 Add quickstart example from README as compilable sub-config 2015-02-21 17:20:57 +01:00
Mike Bierlee 18a33ac8b9 Add link to public API documentation in README 2015-02-21 16:37:12 +01:00
Mike Bierlee 99348bcb74 Add harbored-mod config for ddocs.org 2015-02-21 16:17:12 +01:00
Mike Bierlee f9c2e257c7 Document public API of module "registration" 2015-02-21 16:11:43 +01:00
Mike Bierlee 8ee25abc58 Document public API of module "dependency" 2015-02-21 16:02:33 +01:00
Mike Bierlee 380fc6310b Change README to state that Poodinis works with D2.066.1 2015-02-21 15:59:00 +01:00
Mike Bierlee a9bbb24fcd Use elipses to pretend there's implementation 2015-02-21 02:38:09 +01:00
Mike Bierlee e3009929a5 Remove deprecated @Autowired alias 2015-02-21 02:33:19 +01:00
Mike Bierlee ad5695c774 Rename parameter InterfaceType -> SuperType
Direct ancestor types, which are not neccesarily interfaces, can also be used as registration type
2015-02-21 02:16:24 +01:00
Mike Bierlee 6c8e3c81b3 Remove unused exception 2015-02-21 02:14:25 +01:00
Mike Bierlee 7945cc0ea3 Document public API of module "container" 2015-02-21 02:12:27 +01:00
Mike Bierlee f6a809c54a Improve autowire module documentation 2015-02-21 01:18:07 +01:00
Mike Bierlee 50e754f429 Deprecate @Autowired UDA in favor of using @Autowire
Keeps your codebase consistent. Also this is not Spring.
2015-02-21 01:10:19 +01:00
Mike Bierlee 0d56a4e5c3 Add additional motivation to documentation. 2015-02-15 17:13:59 +01:00
Mike Bierlee 5734b983fc Fix newlining in README 2015-02-15 16:58:12 +01:00
Mike Bierlee 4c51fcada1 Document public API of module "autowire" 2015-02-15 16:52:10 +01:00
Mike Bierlee ccb16b83fb Gitignore generated documentation 2015-02-15 15:34:38 +01:00
Mike Bierlee 586c03bd91 Remove deprecated dependency container alias 2015-02-15 14:52:50 +01:00
Mike Bierlee e44cdf276a Remove deprecated "autowire in constructor" 2015-02-15 14:52:01 +01:00
Mike Bierlee 67ea3a82c9 Prepare development of version 1.0.0 2015-02-15 14:49:13 +01:00
Mike Bierlee 7ffc8d997f Redefine language version specification to make it clear that poodinis is made for a specific version of the language, not a specific compiler. 2015-01-25 22:00:26 +01:00
Mike Bierlee cb42ebc8c1 Update copyrights 2015-01-25 21:55:02 +01:00
Mike Bierlee 796e675141 Use default dmd and dub on travis CI 2015-01-25 21:41:30 +01:00
Mike Bierlee a1d04f7f76 Prepare release 0.3.1 2015-01-25 21:28:35 +01:00
Mike Bierlee 36992c633a Autowire dependencies using autowired registrations instead of letting the container handle it
This fixes known issue "Resolving a class registered by supertype..."
2015-01-25 21:04:17 +01:00
Mike Bierlee 5ebb5805cf Use instantiation context to decide whether to autowire or not 2015-01-25 19:46:17 +01:00
Mike Bierlee 9d931f511b Add registration class that will autowire instances itself 2015-01-25 15:07:11 +01:00
Mike Bierlee 82ea4369b8 Add master module "dependency" 2015-01-25 13:40:11 +01:00
Mike Bierlee 1d74064c15 Reintroduce module container 2015-01-25 13:37:14 +01:00
Mike Bierlee a73b2b9b8b Prepare documention for version 0.3.0 2015-01-24 16:47:40 +01:00
Mike Bierlee b9f39a1a98 Add alternative workaround to readme for autowire limitation 2014-12-31 16:09:00 +01:00
Mike Bierlee 99579060d3 Return resolved instances by qualifier type instead 2014-12-30 18:29:32 +01:00
Mike Bierlee 7a628c32c4 Add debug specifier to reduce verbosity of debug output 2014-12-24 00:05:42 +01:00
Mike Bierlee 77cc636e7f Deprecate buggy work-around in favor of qualifiers 2014-12-14 19:25:08 +01:00
Mike Bierlee 2aef9a1760 Autowire using the qualifier type when resolving dependencies
This will make sure the members of sub-types are also autowired, when a qualifier is given.
2014-12-14 19:20:35 +01:00
Mike Bierlee d07f11d6de Update README to use new method of qualifying 2014-12-13 23:33:07 +01:00
Mike Bierlee 7bc0382a50 Remove left-over debugging output 2014-12-13 23:16:27 +01:00
Mike Bierlee 7ee67ee836 Specify qualifiers in Autowire UDA instead of using separate UDA 2014-12-13 23:15:43 +01:00
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