Skip to content

v0.2.0

Compare
Choose a tag to compare
@bastianccm bastianccm released this 16 Dec 09:42
· 50 commits to master since this release

Changes:
Dingo does not parse command line flags anymore, instead one has to set EnableCircularTracing.
Dingo now has errors in NewInjector, Child, GetInstance, GetAnnotatedInstance and RequestInjection.
Also the error handling has been revisited, to be more precise and clear in error situations.
panic() only happens in case of Bind(nil) and if providers don't accept errors.
Providers can now be of type somethingProvider() Something or somethingProvider() (Something, error), second case doesn't panic, but returns an error if resolving/providing fails.