Closed mitchnielsen closed 4 months ago
In https://github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.8.0, there's a note about a deprecated interface:
attr/xattr: The TypeWithValidate interface has been deprecated in preference of the ValidateableAttribute interface. A ValidatableParameter interface has also been added to the function package (https://github.com/hashicorp/terraform-plugin-framework/issues/968)
We use this in two places:
In https://developer.hashicorp.com/terraform/plugin/framework/validation#defining-value-validation, it discusses this:
Value validation should be used in preference to Type validation. Refer to Value Validation for more information.
It might make sense to simply remove the type validation and keep the value validation we already have, but will need to confirm.
TypeWithValidate
Summary
In https://github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.8.0, there's a note about a deprecated interface:
We use this in two places:
In https://developer.hashicorp.com/terraform/plugin/framework/validation#defining-value-validation, it discusses this:
It might make sense to simply remove the type validation and keep the value validation we already have, but will need to confirm.
Acceptance criteria
TypeWithValidate
is no longer used (it's deprecated in 1.8.0, and not yet known when it will be removed)