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
|
// guaranteed to be of the proper Schema type, and it can yield warnings or
|
||||||
// errors based on inspection of that value.
|
// errors based on inspection of that value.
|
||||||
//
|
//
|
||||||
// ValidateFunc currently only works for primitive types and TypeList / TypeSet
|
// ValidateFunc is honored only when the schema's Type is set to TypeInt,
|
||||||
// of primitive type elements.
|
// TypeFloat, TypeString, TypeBool, or TypeMap. It is ignored for all other types.
|
||||||
ValidateFunc SchemaValidateFunc
|
ValidateFunc SchemaValidateFunc
|
||||||
|
|
||||||
// Sensitive ensures that the attribute's value does not get displayed in
|
// Sensitive ensures that the attribute's value does not get displayed in
|
||||||
|
|
Loading…
Reference in New Issue