hashicorp / hashicorp/terraform-plugin-codegen-framework
Fully specify custom type
Open
- Dominant language
- Go
- Stars
- 57
- Forks
- 29
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 1
Description
Within the Generator there is currently no way to fully override custom types for lists, maps, objects and sets. For instance:
```go
case e.List != nil:
if e.List.CustomType != nil {
return fmt.Sprintf("%s{\nElemType: %s,\n}", e.List.CustomType.Type, GetElementType(e.List.ElementType))
```
Once this has been [addressed in the specification](https://github.com/hashicorp/terraform-plugin-codegen-spec/issues/21), then the code handling custom types for list, map, object and set will need updating in the generator.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.