We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded4345 commit a5de55dCopy full SHA for a5de55d
typed/validate.go
@@ -92,7 +92,7 @@ func validateScalar(t *schema.Scalar, v value.Value, prefix string) (errs Valida
92
case schema.Numeric:
93
if !v.IsFloat() && !v.IsInt() {
94
// TODO: should the schema separate int and float?
95
- return errorf("%vexpected numeric (int or float), got %T", prefix, v)
+ return errorf("%vexpected numeric (int or float), got %T", prefix, v.Unstructured())
96
}
97
case schema.String:
98
if !v.IsString() {
0 commit comments