Proposal: Add variant of CustomizeDiffFunc
that returns diag.Diagnostics
#1065
Labels
enhancement
New feature or request
terraform-plugin-framework
Resolved in terraform-plugin-framework
Use-cases
There are times when a
CustomizeDiffFunc
would ideally return a warning message. The current option is to add a log message, but that is only visible to the practitioner if logging is enabled.Proposal
Create a variant of
CustomizeDiffFunc
, e.g.,CustomizeDiffFuncDiags
, that returns adiag.Diagnostics
instead oferror
.The text was updated successfully, but these errors were encountered: