ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
337 stars 33 forks source link

Return null from factory #74

Closed ipjohnson closed 7 years ago

ipjohnson commented 7 years ago

Currently null is not an allowed value to be returned from a factory (unless you turn it off for the container). It would be useful to allow the returning of null when it's not required or has a default value.