-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code generation for primitive attributes with associated external type #70
Labels
enhancement
New feature or request
Comments
bendbennett
added a commit
that referenced
this issue
Oct 19, 2023
bendbennett
added a commit
that referenced
this issue
Oct 19, 2023
bendbennett
added a commit
that referenced
this issue
Oct 19, 2023
…es (#59) * Refactoring to move generation of to/from functions to attributes and blocks * Moving schema.gotmpl * Renaming interface method * Removing unneeded template variable * Renaming method * Renaming methods * Inline function * Renaming * Adding tests for to/from method generated code * Adding initial implementation of custom type and value types for data source bool attribute along with To/From method generation * Updating data source attributes to use generated type and value type in schema and models if associated external type is defined * Populating data source associated external type * Setting up generation of custom type and value types and to/from functions for data source float64, int64, number, and string attributes * Setting up generation of custom type and value types and to/from functions for provider and resource bool, float64, int64, number, and string attributes * Adding test coverage for associated external type * Temporarily using sha for codegen-spec * Adding changelog (#70) * Adding tests for custom string type and value, and to/from methods (#70) * Using latest codegen-spec SHA from main (#70)
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, custom type and value types, and the
To<....>()/From<....>()
methods that are used to convert between Terraform Plugin Framework types and API types have only been implemented for list, map, set, single nested attributes, and list, set, single nested blocks.Code generation should also produce custom type and value types, and the
To<....>()/From<....>()
methods for Bool, Float64, Int64, Number, and String attributes (refer to Generate custom type and value types and to/from methods for primitives for an example).Related
The text was updated successfully, but these errors were encountered: