You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code example might be best served with an update to check !req.ConfigValue.IsNull() for clarity (and to allow prior plan modification to set a null plan value successfully), but it might be best to create a separate issue/PR to discuss this type of example change further.
So here I am 🙂
The text was updated successfully, but these errors were encountered:
@bendbennett while we are updating the plan modification page for default value support, I think this will be covered as well with those code changes. 👍
This code was updated as part of #668 and will release with terraform-plugin-framework version 1.2.0 🔜 . If there are further documentation suggestions with plan modifier handling, please raise a new issue. 👍
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I open a PR #595 (recently merged) that fixed an incorrect field reference and in the PR I questioned the implementation of the PlanModifyString method defined in https://github.com/hashicorp/terraform-plugin-framework/blob/main/website/docs/plugin/framework/resources/plan-modification.mdx under the heading "Creating Attribute Plan Modifiers".
@bflad mentioned...
So here I am 🙂
The text was updated successfully, but these errors were encountered: