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

Alter reset and input names when they conflict #429

Merged
merged 2 commits into from
Nov 26, 2020

Conversation

jsteinich
Copy link
Collaborator

Fixes #427

Very rarely, the generated names for resetting optional values and accessing the input value for required or optional values conflicts with other values.
I checked nearly 400 providers and found only 3 instances of conflict with reset and 1 with input. As such, I choose to only diverge from convention when necessary rather than changing the naming overall.
XInput -> XTfInput and resetX -> resetTfX

@skorfmann
Copy link
Contributor

Is this good to merge?

@jsteinich jsteinich force-pushed the reset_and_input_check branch from 8a901b2 to 8b8bd3e Compare November 18, 2020 13:59
@jsteinich
Copy link
Collaborator Author

Is this good to merge?

@skorfmann I rebased against master and fixed the new test snapshot. Should be good to go now assuming full tests still pass.

@skorfmann skorfmann merged commit 4ea94e1 into hashicorp:master Nov 26, 2020
@skorfmann skorfmann mentioned this pull request Dec 4, 2020
@github-actions
Copy link
Contributor

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 issues. If you've 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 Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

providers/helm/release.ts failing cdktf get with missing README.md in Python
2 participants