Open thiagolunardi opened 6 years ago
WHEN Contract .Required() .HasMinLen(x => x.Name, 3) AND x.Name = "A"; THEN // output: "Name must have at least 3 characters" ... or so.
Contract .Required() .HasMinLen(x => x.Name, 3)
x.Name = "A";
// output: "Name must have at least 3 characters" ... or so.
WHEN
Contract .Required() .HasMinLen(x => x.Name, 3)
ANDx.Name = "A";
THEN// output: "Name must have at least 3 characters" ... or so.