You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
snorwin
changed the title
omitempty in combination with zero values and empty slices/maps is creating patches as expected
omitempty in combination with zero values and empty slices/maps isn't creating patches as expected
May 19, 2021
snorwin
changed the title
omitempty in combination with zero values and empty slices/maps isn't creating patches as expectedomitempty in combination with zero values and empty slices/maps isn't creating patches as expected
Apr 17, 2024
There is currently no logic to handle
omitempty
and zero value properly. The same applies if all elements of a map or slice are deleted.Example
Expected result
Actual result
The text was updated successfully, but these errors were encountered: