Skip to content
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

Merged
merged 5 commits into from
Jun 2, 2022

Conversation

bendbennett
Copy link
Contributor

In order to align attribute naming, body is being deprecated and replaced by response_body.

@bendbennett bendbennett changed the title Deprecating body and replacing with response_body Deprecating body and replacing with response_body May 31, 2022
@bendbennett bendbennett added this to the v2.2.0 milestone May 31, 2022
@bendbennett bendbennett marked this pull request as ready for review May 31, 2022 14:06
@bendbennett bendbennett requested a review from a team as a code owner May 31, 2022 14:06
Copy link
Contributor

@bflad bflad left a 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 🚀

Comment on lines 57 to 59
Elem: &schema.Schema{
Type: schema.TypeString,
},
Copy link
Contributor

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. 👍

Suggested change
Elem: &schema.Schema{
Type: schema.TypeString,
},

Copy link
Contributor Author

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.

@bendbennett bendbennett merged commit 186887f into main Jun 2, 2022
@bendbennett bendbennett deleted the bendbennett/deprecate-body branch June 2, 2022 14:58
orgads added a commit to orgads/terraform-provider-http-full that referenced this pull request Sep 5, 2022
* 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)
orgads added a commit to orgads/terraform-provider-http-full that referenced this pull request Sep 5, 2022
* 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.
orgads added a commit to orgads/terraform-provider-http-full that referenced this pull request Sep 6, 2022
* Deprecating body and replacing with response_body

* Updating docs and CHANGELOG.md

Cherry picked from hashicorp/terraform-provider-http#137.

Fixes salrashid123#10.
orgads added a commit to orgads/terraform-provider-http-full that referenced this pull request Sep 6, 2022
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants