Skip to content

required_without_all校验BUG #347

Description

@sbgayhub

System (please complete the following information):

  • OS: Windows
  • GO Version: 1.27
  • Pkg Version: 2.0.2

Describe the bug
结构体中有3个字段使用required_without_all并互斥,正常绑定后校验报错,如图

To Reproduce

// go code

Expected behavior

按照正常逻辑成功运行

Screenshots

Image

Additional context

Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions