hashicorp / hashicorp/terraform-plugin-framework

Consider raising error when a `List` (or `Set`) attribute defines both `ElementType` and `CustomType`

Open
#947 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.