terraform-plugin-sdk icon indicating copy to clipboard operation
terraform-plugin-sdk copied to clipboard

feat(set): add Map method

Open Serpentiel opened this issue 2 years ago • 1 comments

adds Map method to schema.Set that returns a cloned version of the internal map that is used in the Set

this is useful, for example, when you are trying to build a tree of keys when you iterate over schema's fields, and you need to retrieve all the hashed keys from the Set

Serpentiel avatar Oct 25 '22 15:10 Serpentiel

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Oct 25 '22 15:10 hashicorp-cla