Closed bendbennett closed 1 year ago
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
It is never valid for a plugin Framework schema to have duplicated names for data sources or resources. Similarly, it is never valid for attributes or blocks to have duplicated names within a schema at the same nesting level.
The proposal is to introduce additional validation to ensure that duplicate names are not present within
spec.Specification
.An additional function will be added that performs validation that duplicates are not present prior to returning a
spec.Specification
. For instance:The
Generate()
function will delegate to the relevantValidate()
functions on thespec.Specification
and subsequently on the nested data sources, provider and resources. For example: