Skip to content

tfprotov5+tfprotov6: Remove temporary ResourceServerWithMoveResourceState interface#408

Merged
bflad merged 2 commits intomainfrom
bflad/ResourceServerWithMoveResourceState
May 10, 2024
Merged

tfprotov5+tfprotov6: Remove temporary ResourceServerWithMoveResourceState interface#408
bflad merged 2 commits intomainfrom
bflad/ResourceServerWithMoveResourceState

Conversation

@bflad
Copy link
Contributor

@bflad bflad commented May 10, 2024

Closes #389

The ResourceServerWithMoveResourceState temporary interface was introduced as a way to onboard downstream SDKs onto the new MoveResourceState RPC before it was required. This enabled a period where terraform-plugin-go could support new functionality while not causing compilation errors if downstream Go modules happened to be referencing differing SDK versions that may or may not all support the new functionality immediately. Now that those downstream Go modules are referencing ResourceServer directly again, the temporary interface can be removed to prevent bloating this Go module.

…tate interface

Reference: #389

The `ResourceServerWithMoveResourceState` temporary interface was introduced as a way to onboard downstream SDKs onto the new `MoveResourceState` RPC before it was required. This enabled a period where terraform-plugin-go could support new functionality while not causing compilation errors if downstream Go modules happened to be referencing differing SDK versions that may or may not all support the new functionality immediately. Now that those downstream Go modules are referencing `ResourceServer` directly again, the temporary interface can be removed to prevent bloating this Go module.
@bflad bflad added breaking-change This will impact or improve our compatibility posture tech-debt labels May 10, 2024
@bflad bflad added this to the v0.24.0 milestone May 10, 2024
@bflad bflad requested a review from a team as a code owner May 10, 2024 14:57
Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@bflad bflad merged commit 22700c0 into main May 10, 2024
@bflad bflad deleted the bflad/ResourceServerWithMoveResourceState branch May 10, 2024 16:56
@github-actions
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 Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking-change This will impact or improve our compatibility posture tech-debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tfprotov5+tfprotov6: Remove temporary ResourceServerWithMoveResourceState interface

2 participants