implicitly combining validations
Author: casualjimCreated Aug 19, 2018Updated Jun 28, 2026
Labelsbugwontfixfuture/maybemodelnullable
Problem statement
The simple types have rules on when they become a pointer.
// the address to use for raft communication
// Required: true
// Min Length: 1
Addr *string `json:"addr"`This has a minimum length so the required is implied, and would fail too. This shouldn't be a pointer.
Source: go-swagger/go-swagger