forked from mitchellh/mapstructure
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(decoder-configs): add flag to force decoding nil input in decode…
…r config (#42) * Add ForceDecoding Flag To Decoder Config * Add Test Cases * Fix Documentation * Remove Extra Check * Do Not Override Zero Fields Check * Use Map As Input For Tests * Rename Flag And Simplify godoc * Fix Test Name * Fix Wording of godoc * Use interface{} Instead of map[string]interface{} * Fix Test Case * Fix Variable Name * Fix godoc * Address Feedback From PR Review * Change Logic To Set InputVal And Not Erase OutputVal * Add Additional Test With Type Hook * Add Extra Test Case And Extract Bool Expression Into Variable * Fix Typo * Add More Test Cases * Rename Variable * Fix Test Case * Address Feedback From PR Review * Simplify Test Strings * Use More Descriptive Test Name * Add Test Cases For Append Hook Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com> * Run Linter Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com> * Remove Debug Statement Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com> --------- Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
- Loading branch information
1 parent
c97971d
commit ff5d967
Showing
2 changed files
with
188 additions
and
7 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