Closed randomswdev closed 6 months ago
Hi @austinvalle I simplified the pull request, keeping only the changes required for supporting Common Parameters. I added some tests for the new methods.
What do I have to do for the changelog and the docemantation?
@austinvalle
As you'll see below, I think the common parameters issue is pretty cut and dry, but I need some clarification on the "overriding nested attributes with parameters" issue that I think would be best discussed first in a GitHub issue before opening a PR.
I just opened an issue describing the problem and plan to submit later today a pull request containing just the related changes. The issue is: https://github.com/hashicorp/terraform-plugin-codegen-openapi/issues/117
Another note, the kubernetes spec was incorrectly not apart of the test suite, which I just added back in #121.
Your changes will likely update that golden file, so you'll want to run make testdata
and commit the changes to your PR 👍🏻
@austinvalle I should have addressed all the review comments. Let me know if additional changes are required.
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.
The current parameters overriding logic has two flaws:
This pull request attempts to address both these issues.