hashicorp / terraform-plugin-codegen-openapi

OpenAPI to Terraform Provider Code Generation Specification
Mozilla Public License 2.0
49 stars 9 forks source link

Refactor merging + add abstraction for attributes #51

Closed austinvalle closed 1 year ago

austinvalle commented 1 year ago

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

github-actions[bot] commented 3 months 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.