Skip to content

Conversation

@paaanic
Copy link
Contributor

@paaanic paaanic commented Sep 20, 2024

This PR fixes the problem mentioned in #160.

Thanks to @austinvalle for the code snippet that was left in the issue as an example and used as a basis for this fix.

@paaanic paaanic requested a review from a team as a code owner September 20, 2024 17:13
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Sep 20, 2024

CLA assistant check
All committers have signed the CLA.

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.

Thanks for the contribution @paaanic, everything here make sense, although we don't have a ton of robust acceptance tests outside of the snapshot-like tests we have. I think generally this should cover the original bug report, although I wouldn't be surprised if other custom type implementations have similar null/unknown handling issues.

Would you mind also creating a bugfix changelog for this PR? (this repo doesn't have a contributing document I'm seeing, but you can reference the plugin-framework one)

@austinvalle austinvalle added this to the v0.4.1 milestone Sep 20, 2024
@austinvalle austinvalle added the bug Something isn't working label Sep 20, 2024
@paaanic
Copy link
Contributor Author

paaanic commented Sep 21, 2024

Thank you for the quick review @austinvalle. Added a changelog entry.

@paaanic
Copy link
Contributor Author

paaanic commented Sep 24, 2024

It is worth noting that the same problem is mentioned in the #154, so this PR should fix it as well.

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.

LGTM, thanks for the fix!

I'll release this in v0.4.1 🚀

@austinvalle austinvalle merged commit c5a3592 into hashicorp:main Sep 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

2 participants