-
Notifications
You must be signed in to change notification settings - Fork 118
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
Deprecating body
and replacing with response_body
#137
Conversation
body
and replacing with response_body
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀
internal/provider/data_source.go
Outdated
Elem: &schema.Schema{ | ||
Type: schema.TypeString, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
schema.TypeString
does not have elements like a list, map, or set would. 👍
Elem: &schema.Schema{ | |
Type: schema.TypeString, | |
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have removed Elem
from url
, body
and response_body
as all are TypeString
.
* Deprecating body and replacing with response_body * Updating docs and CHANGELOG.md * Removing unneeded Elem from Schema (cherry picked from hashicorp/terraform-provider-http#137)
* Deprecating body and replacing with response_body * Updating docs and CHANGELOG.md * Removing unneeded Elem from Schema (cherry picked from hashicorp/terraform-provider-http#137) Fixes salrashid123#10.
* Deprecating body and replacing with response_body * Updating docs and CHANGELOG.md Cherry picked from hashicorp/terraform-provider-http#137. Fixes salrashid123#10.
Cherry picked from hashicorp/terraform-provider-http#137. Fixes salrashid123#10.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
In order to align attribute naming,
body
is being deprecated and replaced byresponse_body
.