Closed austinvalle closed 1 year ago
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.
Recent PR discussion: https://github.com/hashicorp/terraform-plugin-codegen-openapi/pull/50#discussion_r1300194506
This PR introduces a new package that wraps the
codegen-spec
types to allow our code to easily handle generic logic such as: merging, overriding, etc. This PR is all internal refactoring and no new features/oddities have been added.Prior art considered: https://github.com/hashicorp/terraform-plugin-codegen-framework/tree/main/internal/resource_generate
Notes
NestedObject
andAttributes
properties. It looks a little weird when creating a struct literal, but otherwise behaves normally: