hashicorp / hashicorp/terraform-plugin-framework
Consider raising error when a `List` (or `Set`) attribute defines both `ElementType` and `CustomType`
Open
enhancement
- Dominant language
- Go
- Stars
- 384
- Forks
- 107
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
### Module version
```console
% go list -m github.com/hashicorp/terraform-plugin-framework/...
github.com/hashicorp/terraform-plugin-framework v1.6.1
```
### Use-cases
If the schema definition of a `List` (or `Set`) attribute contains both `ElementType` and `CustomType` then `ElementType` is not effective.
Consider reporting such a case during schema verification.
### References
Relates https://github.com/hashicorp/terraform-plugin-docs/issues/342.
Relates https://github.com/hashicorp/terraform-plugin-docs/issues/343.
Contributor guide
Assessment
This issue has not been assessed yet.