mapstructure icon indicating copy to clipboard operation
mapstructure copied to clipboard

Slice of structures deep mapping

Open mullerch opened this issue 2 years ago • 4 comments

Structs in slices were simply copyed to the target map. With this PR they can also be mapped, using the "deep" tag, or the global "Deep" option.

Partially solves #249

mullerch avatar Nov 01 '22 15:11 mullerch

Merging this could be awesome. looks clean and solves a real problem to me that I can't solve only by adding a hook

dangra avatar Feb 12 '23 23:02 dangra

Need this feature. Any progress?

huaoguo avatar Mar 28 '23 13:03 huaoguo

Need this feature too.

OnslaughtSnail avatar Nov 25 '23 02:11 OnslaughtSnail

Given that this project is being officially forked to https://github.com/go-viper/mapstructure (see https://github.com/mitchellh/mapstructure/issues/349) I'd suggest that this PR be opened against that project now.

jchunkins avatar Jun 19 '24 21:06 jchunkins