Closed austinvalle closed 1 year ago
I'm a little worried that introducing this as "element" type might be confusing -- objects are attribute name to value type mappings, while element type is very explicitly the single value type terminology used by list/map/set collection types in Terraform.
Ah! That's fair. I initially thought it wasn't intentional. I'll move this back to draft and we can discuss more when I get back from vacay 👍🏻
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.
I missed this in the original PR (apologies): https://github.com/hashicorp/terraform-plugin-codegen-spec/pull/1/files#diff-293e4410b228693685840b36ef3b6e9c99b50a6a37d8ae5b5d27cc150c139961, but I believe we landed that ObjectAttributeType would also embed similar to
ListType
,MapType
andSetType