-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NewValue
function should also return an Error
type
#264
Comments
Hi @BBBmau 👋 Thank you for raising this and sorry it caused you trouble. The original and current design of the There are likely a few considerations that should occur if we were to take a look at reworking the
With respect to this issue, assuming
To offer a migration period rather than breaking the existing ecosystem outright, the Another option would be introducing something like With all that said, I'm going to leave this issue as-is without any commitment to gauge further developer interest. Additional problem reports are definitely appreciated. If there are no other upvotes or commentary though, this sort of change will likely linger longer or be closed because it would represent a large amount of ecosystem burden to implement. |
terraform-plugin-go version
Relevant provider source code
Terraform Configuration Files
Expected Behavior
Should return an error in order to prevent having to catch the error with the k8s provider
Actual Behavior
no error is returned forcing us to have to catch the error right before the panic within the provider.
References
hashicorp/terraform-provider-kubernetes#2018
The text was updated successfully, but these errors were encountered: