Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal parameter objects implementation
This adds support for parameter objects to dig. Structs opt-in to be treated as parameter objects by embedding `dig.Param`. For the sake of simplicity from the users' point-of-view, we don't recurse into parameter objects inside other parameter objects. This can be changed in the future if there's demand for it.
- Loading branch information
Showing
2 changed files
with
270 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters