Support parameter-based validator interfaces <Type>ParameterValidator
#235
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
New feature or request
Milestone
Module version
The following snippet in the documentation https://github.com/hashicorp/terraform-plugin-framework/blob/v1.10.0/website/docs/plugin/framework/validation.mdx under the section Parameter Validation doesn't work as expected.
Actual Behavior
Error Message:
cannot use stringvalidator.LengthBetween() (value of type validator.String) as function.StringParameterValidator value in array or slice literal: validator.String does not implement function.StringParameterValidator (missing method ValidateParameterString)
Additionally, I would like to know if there are any plans to support functions under stringvalidator in the function.StringParameter in the future?
The text was updated successfully, but these errors were encountered: