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

Add reflection tests for object models with tfsdk tags in framework providers #263

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

austinvalle
Copy link
Member

Ref: hashicorp/terraform-plugin-framework#1021

Since we're adding support for embedded struct support for tfsdk tags, I added some smoke tests for relatively complex struct models for both getting/setting values. I covered most types when writing the test, but the intention of this test is really to ensure values are set/retrieved correctly and not the individual type implementations themselves.

go.mod Outdated Show resolved Hide resolved
@austinvalle austinvalle merged commit 46f4162 into main Aug 6, 2024
83 checks passed
@austinvalle austinvalle deleted the av/embedded-structs branch August 6, 2024 14:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants