hashicorp / terraform-plugin-codegen-framework

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

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

Closed paaanic closed 2 months ago

paaanic commented 2 months 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 2 months ago

CLA assistant check
All committers have signed the CLA.

paaanic commented 2 months ago

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

paaanic commented 2 months ago

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