Open arjendevos opened 3 months ago
v10
Is it possible to do this?
type ValidationStruct struct { FirstArray []string `json:"firstArray" validate:"required_if=secondArray lte=0,dive"` SecondArray []string `json:"secondArray" validate:"required_if=firstArray lte=0,dive"` }
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Is it possible to do this?