Commit graph

496 commits

Author SHA1 Message Date
Mike Bierlee ba90c57dd4 Add persistent resolve options to tutorial 2016-09-03 17:02:19 +02:00
Mike Bierlee 95e30477c6 Prevent creation of circular dependencies in constructors 2016-09-03 16:57:38 +02:00
Mike Bierlee 96f52226b4 Build with latest beta 2016-08-31 14:08:54 +02:00
Mike Bierlee ab30e633e0 Add example on constructor injection 2016-08-25 21:17:47 +02:00
Mike Bierlee ed20c8fd16 Rewrite example to be more factually correct now 2016-08-23 21:46:33 +02:00
Mike Bierlee 0a632226ad Fix typo 2016-08-23 21:44:41 +02:00
Mike Bierlee 80a50ba480 Rewrite sentence 2016-08-23 21:41:46 +02:00
Mike Bierlee 8759b2b6c4 Fix formatting and add to 2016-08-23 21:40:06 +02:00
Mike Bierlee 1869ec2782 Rewrite sentence to be less confusing 2016-08-23 21:32:19 +02:00
Mike Bierlee 6f6cd2381c Fix typo 2016-08-23 21:29:33 +02:00
Mike Bierlee 1a51e2081e Remove redundant addition 2016-08-23 21:28:54 +02:00
Mike Bierlee de26a49b8d Change wording to be more accurate 2016-08-23 21:24:41 +02:00
Mike Bierlee 97fbf03b85 Change title of tutorial chapter on automatic injection 2016-08-23 21:23:19 +02:00
Mike Bierlee c0553967c9 Add extra testcase 2016-08-23 21:20:54 +02:00
Mike Bierlee 44c41b1579 Add constructor injection to documentation 2016-08-23 21:10:31 +02:00
Mike Bierlee ab765e0092 Add constructor injection 2016-08-23 00:11:29 +02:00
Mike Bierlee 81c6faed16 Pass factory through constructor to prevent nullpointer exceptions 2016-08-17 23:01:22 +02:00
Mike Bierlee 941c5b1961 Fix accidentally setting same property 2016-08-17 23:00:21 +02:00
Mike Bierlee 831e38cb56 Let container create instance factory instead of scopes 2016-08-17 22:37:02 +02:00
Mike Bierlee 6b3b23a376 Move factory parameters to parameter object 2016-08-17 22:28:47 +02:00
Mike Bierlee 44e77aff9c Move factory stuff to own module 2016-08-17 20:44:36 +02:00
Mike Bierlee ccdef46dde Build with latest DMD beta 2016-08-09 21:36:35 +02:00
Mike Bierlee c7e836b68f Build with latest beta compilers 2016-08-08 23:20:52 +02:00
Mike Bierlee b6ccc9d4a9 Pull keeping track of originating containmer up to Registration class 2016-08-08 23:06:05 +02:00
Mike Bierlee 2a4004856f Deprecate global autowiring function 2016-08-08 22:22:13 +02:00
Mike Bierlee 9e5a27d046 Deprecate singleton factory method
The factory method encourages misuse of dependency injection (by using it as a service locator). Removing the factory method forces the user to make this choice deliberately.
2016-08-08 22:17:17 +02:00
Mike Bierlee 02dbe20c64 Remove deprecated muck 2016-08-08 21:32:27 +02:00
Mike Bierlee 8c27738b51 Build with latest DMD beta on travis 2016-06-27 21:37:48 +02:00
Mike Bierlee 293e19ba9e Prepare version 6.3.0 2016-06-27 21:24:58 +02:00
Mike Bierlee 1d141b3bb8 Update changelog 2016-06-27 21:24:38 +02:00
Mike Bierlee f1d7529d03 A newer DUB is fine too 2016-06-27 21:01:19 +02:00
Mike Bierlee 771c49d86a Deprecate array-based assignment of persistent resolve/registration options 2016-06-27 20:55:07 +02:00
Mike Bierlee f67e67b93c Fix test to properly test the variadic variant 2016-06-27 20:43:12 +02:00
Mike Bierlee e800a9029e Test deprecated options-by-array overload 2016-06-27 20:40:08 +02:00
Mike Bierlee 2278378080 Shift bit of sole option to indicate it's a bitnum 2016-06-27 20:38:17 +02:00
Mike Bierlee 4f29356568 Add previous release of LDC to build list 2016-06-27 20:29:17 +02:00
Mike Bierlee 5943dedc95 Merge pull request #11 from tmccombs/develop
Use bit flags instead of array for options.
2016-06-27 20:19:46 +02:00
Thayne McCombs 243c02266e Add registerOnResolveExample to .gitignore 2016-06-26 21:45:48 -06:00
Thayne McCombs 4e27adc96b Transpose static if to avoid generating dead code. 2016-06-26 21:45:48 -06:00
Thayne McCombs 6255292069 Use bit flags for options.
A more idiomatic and efficient way of passing options.
2016-06-26 21:45:48 -06:00
Mike Bierlee ab5e5d1ba1 Add latest beta version to travis build 2016-05-29 15:58:26 +02:00
Mike Bierlee 7d55d9b7e3 Prepare version 6.2.0 2016-04-10 13:38:27 +02:00
Mike Bierlee 4065ac9824 Add previous minor D release to list of tested compilers 2016-04-09 23:06:54 +02:00
Mike Bierlee 56ea2d6466 Mark development version as being ahead of release 2016-02-15 22:52:49 +01:00
Mike Bierlee 7308702dfe Add ability to mark autowire dependencies as optional 2016-02-15 22:52:48 +01:00
Mike Bierlee 6746fd64a0 Add resolve options to resolveAll 2016-02-15 22:52:48 +01:00
Mike Bierlee 21d727c500 Add resolve option for not throwing a resolveException 2016-02-15 22:52:47 +01:00
Mike Bierlee fcf021cf74 Clarify tutorial text a bit 2016-02-15 20:56:02 +01:00
Mike Bierlee e22801017f Properly highlight code elements in tutorial 2016-02-15 20:49:57 +01:00
Mike Bierlee 899e76b3c9 Note that members of protected visibility can also be autowired 2016-02-15 20:42:45 +01:00