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

all: Remove type assertions for Function and MoveResourceState RPC implementations #238

Merged
merged 2 commits into from
May 8, 2024

Conversation

austinvalle
Copy link
Member

Closes #210
Closes #219

With the release of terraform-plugin-go v0.23.0, the FunctionServer interface and MoveResourceState method are now required. This PR removes the temporary type assertions.

I'm not sure if this warrants a changelog, but happy to add a NOTE if we think it's helpful.

@austinvalle austinvalle added the enhancement New feature or request label May 8, 2024
@austinvalle austinvalle added this to the v0.16.0 milestone May 8, 2024
@austinvalle austinvalle requested a review from a team as a code owner May 8, 2024 19:25
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

❤️ Thanks for doing this! Looks good to me 🚀

I'm not sure if this warrants a changelog

I don't think so personally -- the Go module already requires terraform-plugin-go v0.23.0 so downstream consumers cannot get into a situation that we need to announce that minimum version requirement. 👍

@austinvalle austinvalle merged commit 23e467a into main May 8, 2024
7 checks passed
@austinvalle austinvalle deleted the av/remove-type-assertions branch May 8, 2024 19:32
Copy link

github-actions bot commented Jun 8, 2024

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 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

all: Remove ResourceServerWithMoveResourceState Checks/Assertions all: Remove FunctionServer Checks
2 participants