Consider exposing interfaces under ./internal/fwschema
#1031
Labels
enhancement
New feature or request
./internal/fwschema
#1031
Module version
Use-cases
As a framework provider developer, I'd like to make some toolings based on the provider/datasource/resource schema definitions. The tool runs from with in the provider, and inspect different dimensions on the schemas.
Currently, the schemas have the following hierarchy:
It makes me have to duplicate the same code that processing the
[resource|datasource|provider].[Schema|Attribute|Block]
three times, as long as I want to define some intermidiate function/type that aims to hold any of these types. What I actually want is to use those internal interfaces types instead, so that I only need to maintain one code.Attempted Solutions
Duplicates the logic to 3 copies.
Proposal
Exposing those interfaces in
./internal/fwschema
package.References
The text was updated successfully, but these errors were encountered: