Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

ErrorUnset conflicts with UntaggedFields #350

Open
@mateusoliveira43

Description

@mateusoliveira43

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions