Mike Bierlee
af5df7a26c
Add caveat
2016-02-15 20:37:54 +01:00
Mike Bierlee
2cc8f3d68a
Fix tutorial showing how to create a new container
...
Containers should be shared because they're designed to work accross threads.
2016-02-15 20:36:09 +01:00
Mike Bierlee
851eeade45
Use more meaningful names for member tuple index variables
2016-02-15 00:26:04 +01:00
Mike Bierlee
e7cb6b6e48
Build with latest LDC on travis
2016-02-15 00:17:06 +01:00
Mike Bierlee
e4c65ef665
Add future work
2016-02-11 20:46:16 +01:00
Mike Bierlee
b7eee5e51f
Fix typos of enum RegistrationOption
...
Fixes #9
2016-02-11 20:40:16 +01:00
Mike Bierlee
f2ff12dc58
Make ApplicationContext more robust
...
By including members with non-public visibility
2016-02-10 00:36:44 +01:00
Mike Bierlee
13921a128e
Simplify templated calls in test
2016-02-10 00:34:01 +01:00
Mike Bierlee
85c31574ac
Cleanup whitespace
2016-02-10 00:24:45 +01:00
Mike Bierlee
9334f8864e
Prepare version 6.1.0
2016-02-09 23:53:47 +01:00
Mike Bierlee
8c83eecaa7
Add note on contributing to README
2016-02-09 23:18:12 +01:00
Mike Bierlee
7e058170dc
Merge pull request #8 from Extrawurst/develop
...
fix autowiring in base classes
2016-02-09 22:31:17 +01:00
Stephan Dilly
f84b025110
fix autowiring in base classes
2016-02-09 22:21:36 +01:00
Mike Bierlee
a8f455893a
Update changelog to add private field autowiring
...
Conflicts:
CHANGES.md
2016-02-09 21:41:33 +01:00
Mike Bierlee
f1e7b2809c
Add example for detailing how registration on resolve works
2016-02-09 21:30:51 +01:00
Mike Bierlee
fdbd3c06a1
Make all autowired members in examples and the tutorial private
...
To set a proper example!
2016-02-09 21:06:07 +01:00
Mike Bierlee
965dcfb0a2
Fix registration of application contexts with non-public members
2016-02-09 21:02:56 +01:00
Mike Bierlee
d87c8a0457
Merge branch 'feature/autowire-private-fields' of https://github.com/Extrawurst/poodinis into Extrawurst-feature/autowire-private-fields
...
Conflicts:
README.md
2016-02-09 20:28:07 +01:00
Stephan Dilly
7d2ba1bef9
allow autowiring private fields too
2016-02-09 18:01:21 +01:00
Mike Bierlee
111623166e
Add test to verify registerBeforeResolving fails for interfaces
2016-02-03 23:51:19 +01:00
Mike Bierlee
bf4360d3df
Stick tutorial part about doNotAddConcreteTypeRegistration in the right section
2016-02-03 23:27:14 +01:00
Mike Bierlee
5d9ac73418
Add setting persistent resolve options
2016-02-03 23:13:36 +01:00
Mike Bierlee
a1cbd9650a
Add deprecation of variadic register method to changelog
2016-02-03 23:07:53 +01:00
Mike Bierlee
d34e35d877
Don't use deprecated registration option and method in tutorial
2016-02-03 23:06:44 +01:00
Mike Bierlee
9ebbb5d917
Add ability to register a type while resolving it
...
Closes #5
2016-02-03 23:05:39 +01:00
Mike Bierlee
7775dd3c3a
Fix not handling variadic as array
2016-02-03 22:37:30 +01:00
Mike Bierlee
e7a29f17f7
Allow register by concrete type to also get registration options
...
Although the currently only available option will do nothing
2016-02-03 22:24:22 +01:00
Mike Bierlee
065e7111cd
Deprecate calling register() with RegistationOptions in a variadic way
...
Variadic options will conflict when added to resolve(). To keep the interface consistent, register should follow suit. Supply options using a list of options instead.
2016-02-03 22:17:10 +01:00
Mike Bierlee
46dddbfd46
Deprecate RegistrationOption.DO_NOT_ADD_CONCRETE_TYPE_REGISTRATION in favor of RegistrationOption.doNotAddConcreteTypeRegistration
2016-02-03 22:15:07 +01:00
Mike Bierlee
def5ec2e88
Add setting persistent registration options
2016-02-03 21:28:33 +01:00
Mike Bierlee
947dd4823e
Add only compatible LDC compiler to Travis build
2016-02-01 20:26:28 +01:00
Mike Bierlee
e736624d97
Test with legacy DMD compilers on Travis
...
Also always test with latest
2016-02-01 20:21:02 +01:00
Mike Bierlee
869b02c269
Mention minimum compiler requirement
2016-02-01 20:18:05 +01:00
Mike Bierlee
ce8ee2a3cb
Build with DMD 2.070.0 on Travis
2016-01-31 22:35:26 +01:00
Mike Bierlee
a5f0e8c1ca
Ignore IntelliJ project file
2016-01-17 18:23:26 +01:00
Mike Bierlee
7bd0795b3f
Fix line delimiters
2016-01-06 20:28:25 +01:00
Mike Bierlee
c35e494dfe
Update copyrights
2016-01-06 20:18:35 +01:00
Mike Bierlee
4be0e28bba
Add IntelliJ project files to gitignore
2015-12-30 00:23:04 +01:00
Mike Bierlee
b62aa99147
Remove Eclipse project from repository
...
Please import from DUB project instead
2015-12-29 23:32:37 +01:00
Mike Bierlee
7d206e8964
Fix incorrect fact in tutorial
2015-12-29 01:41:36 +01:00
Mike Bierlee
d046535bdb
Prepare version 6.0.0
2015-12-28 23:15:30 +01:00
Mike Bierlee
664c51b9c4
Add license to examples
2015-12-28 22:45:15 +01:00
Mike Bierlee
e2d86bae0d
Remove deprecated RegistrationOptions alias
2015-12-28 22:43:53 +01:00
Mike Bierlee
4b1bc5077a
Remove deprecated registration option
2015-12-28 22:42:23 +01:00
Mike Bierlee
435dc37c3c
Add application context example
2015-12-28 22:38:58 +01:00
Mike Bierlee
78e8acd7a3
Adjust tutorial a bit
2015-12-24 23:10:56 +01:00
Mike Bierlee
472cfc432f
Add tutorial for application contexts
2015-12-24 22:59:11 +01:00
Mike Bierlee
4d62f3fdb0
Add registering component factories as prototype
...
Which makes them the opposite of singletons
2015-12-24 21:50:12 +01:00
Mike Bierlee
d310640717
Register application contexts as a resolvable dependency
...
For those who like to play with fire
2015-12-24 20:41:05 +01:00
Mike Bierlee
f206b594c8
Add autowiring of application contexts on registration
2015-12-24 20:31:26 +01:00