ErrorUnset conflicts with UntaggedFields

Author: mateusoliveira43Created Dec 24, 2023Updated Dec 24, 2023

If I use ErrorUnset = true and add mapstructure:"-" to my struct field, I get the following error:

* '' has unset fields: -

But since that field is ignored, it should not trigger an error, right?

Also tried using with IgnoreUntaggedFields = true, but got the same result