We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad32b7 commit a09d65fCopy full SHA for a09d65f
CHANGELOG.md
@@ -14,6 +14,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
14
15
### Fixed
16
17
+## [0.2.9]
18
+
19
+### Changed
20
21
+- Fix breaking change to mapstr type conversions during Clone(). #66
22
23
## [0.2.8]
24
25
### Changed
mapstr/mapstr.go
@@ -155,7 +155,7 @@ func (m M) Clone() M {
155
result := make(M, len(m))
156
157
for k := range m {
158
- if innerMap, ok := (m[k]).(M); ok {
+ if innerMap, ok := tryToMapStr(m[k]); ok {
159
result[k] = innerMap.Clone()
160
} else {
161
result[k] = m[k]
0 commit comments