Closed ickymettle closed 9 years ago
I was retrofitting multiconfig into an existing project today and run up against a few unsupported types. I was finding that error messages such as:
multiconfig: not supported type: int64
This left me scratching my head on what field was failing (it was indirectly an int64, a time.Duration).
This patch adds the failing field name to the error message, which produces messages such as:
multiconfig: field 'UploadInterval' has unsupported type: int64
Thanks for a great library!
Thanks @ickymettle !
We eventually should add more supported types. There is also the issue #26 because of this.
I was retrofitting multiconfig into an existing project today and run up against a few unsupported types. I was finding that error messages such as:
This left me scratching my head on what field was failing (it was indirectly an int64, a time.Duration).
This patch adds the failing field name to the error message, which produces messages such as:
Thanks for a great library!