You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add custom type handling for collection elements and object attribute types (#9)
* Incorporating usage of spec element type
* Adding tests for custom types on elements
* Updating ci-go.yml to use token for pulling modules from codegen-spec (private repo)
* Linting
* Using latest version of main and calling spec.Parse for validation and spec generation
* Switching to using HasImport available in spec
* Add handling of element type and attribute type into provider and resource
* Add handling of default and plan modifier imports into resources
* Switching to using HasImport() helper method
* Removing unused function
* Wiring-up addition of imports into schema template for provider and resources
* Removing unneeded schemaImport inclusion in import generation as the import is included in the top-level schema.gotmpl
* Moving commands to separate directory
* Adding new line when object contains more than one attribute type
* Adding copyright headers
* Handling custom type in schema generation for collection elements and object attribute types
* Amending golangci configuration to skip output directory
* Refactoring to used shared functions for spec schema ElementType and ObjectAttributeType
* Updating package names to match module name
* Removing unneeded import from schema.gotmpl for data source, provider and resource
* Adding nil check in template for custom field in plan modifier
* Adding nil check in template for custom field in validator
* DRYing up usage of WriteString()
* Adding comment about the usage specschema types
* Using string quoting within fmt.Sprintf()
0 commit comments