Releases: jmattheis/goverter
Releases · jmattheis/goverter
v0.18.0
Add goverter:skipCopySameType
, this setting instruct Goverter to skip copying instances when the source and target type is the same.
v0.17.5
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
- Add
goverter:useZeroValueOnPointerInconsistency
by @pavelpatrin - Allow defining
goverter:matchIgnoreCase
on the converter interface by @pavelpatrin
v0.16.0
v0.15.0
v0.14.0
- Prevent value copying of source struct pointers if possible. This should fix "go vet copylocks" warnings, because some structs should not be copied. See #39 & #37
- Due to the change above, the generated code will look different, because goverter now splits internal converter methods differently. The overall behavior of the implementation shouldn't change.
- Error on overlapping field mappings. This doesn't change how config is evaluated, but it does now error when field mapping config like
goverter:map
is at the wrong converter method and would be ignored.