Skip to content

Releases: sarulabs/dingo

Fix issue with di v2.5.0

13 Jul 13:23
Compare
Choose a tag to compare

di v2.5.0 was not compatible with dingo because of the way the Parent function was used.

To solve the issue, di was updated to v2.5.1 and dingo now uses the new ParentContainer function.

Add NewFuncParams helper

24 Dec 11:38
0e043c4
Compare
Choose a tag to compare

NewFuncParams can be used to generate the Params map for build functions.

v4.1.1

11 Sep 13:12
3de92fb
Compare
Choose a tag to compare

Improve generated comments

  • Definitions now have a description.
  • Information about the definition is included in the comments

Unshared objects and custom package name

09 Jul 21:22
196f865
Compare
Choose a tag to compare
  • the Unshared field was added to the definitions (#19)
  • the name of the generated package can now be customized (#20)

Fix how named types are registered

28 Mar 21:52
8a8d8b2
Compare
Choose a tag to compare
  • Fix issue #17
  • Update di to v2.4.2

Fix unused imports

25 Mar 04:45
73c8c2f
Compare
Choose a tag to compare

Use golang.org/x/tools/imports to remove unused imports from the generated files.

Fix parameter bugs

24 Mar 21:13
eeb5168
Compare
Choose a tag to compare
  • interface parameters were not handled correctly
  • empty pointers as parameters were not handled correctly either

Remove dingo binary and use a Provider

27 Jan 21:17
b207207
Compare
Choose a tag to compare
  • There is no dingo binary anymore.
  • Simplify the code by using a Provider.
  • di is not included in the generated code anymore.

Upgrade from v3

  • You need to register the definitions in a Provider. The dingo binary is also not available anymore as it would depends on the Provider now. So you have to write it yourself. See the Setup section of the documentation.
  • dingo.App, dingo.Request and dingo.SubRequest have been removed. Use di.App, di.Request and di.SubRequest instead.

Add Fill method to the container and update to di v2.3.0

20 Jan 21:25
ed2a187
Compare
Choose a tag to compare
Merge pull request #7 from sarulabs/fill

Add untyped Fill method to the container and update to di v2.3.0

Avoid problems with go modules

14 Jul 09:56
95166dd
Compare
Choose a tag to compare

No new functionality was added. This release is just here to avoid problems with go modules.