Re-phrase docs to enumerate types which support ValidateFunc
This commit is contained in:
parent
ef681e527d
commit
0395c3ac58
|
@ -279,8 +279,8 @@ type Schema struct {
|
|||
// guaranteed to be of the proper Schema type, and it can yield warnings or
|
||||
// errors based on inspection of that value.
|
||||
//
|
||||
// ValidateFunc currently only works for primitive types and TypeList / TypeSet
|
||||
// of primitive type elements.
|
||||
// ValidateFunc is honored only when the schema's Type is set to TypeInt,
|
||||
// TypeFloat, TypeString, TypeBool, or TypeMap. It is ignored for all other types.
|
||||
ValidateFunc SchemaValidateFunc
|
||||
|
||||
// Sensitive ensures that the attribute's value does not get displayed in
|
||||
|
|
Loading…
Reference in New Issue