hashicorp / terraform-plugin-codegen-framework

Terraform Provider Code Generation Specification to Framework
Mozilla Public License 2.0
39 stars 16 forks source link

Fix conversion of unknown or null collections to empty in nested objects #161

Closed paaanic closed 1 month ago

paaanic commented 1 month ago

This PR fixes the problem mentioned in https://github.com/hashicorp/terraform-plugin-codegen-framework/issues/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.

hashicorp-cla-app[bot] commented 1 month ago

CLA assistant check
All committers have signed the CLA.

paaanic commented 1 month ago

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

paaanic commented 1 month ago

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