Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types: Add Typable and Valuable Interfaces (#536)
* Adding ValueFromFramework and ToFrameworkValue interface functions to types.ListType and types.List (value), respectively (#535) * Adding ValueFromFramework and ToFrameworkValue interface functions to types.MapType and types.Map (value), respectively (#535) * Adding ValueFromFramework and ToFrameworkValue interface functions to types.SetType and types.Set (value), respectively (#535) * Adding ValueFromFramework and ToFrameworkValue interface functions to types.ObjectType and types.Object (value), respectively (#535) * Adding ValueFromFramework and ToFrameworkValue interface functions to primitive types and primitive values, respectively (#535) * Refactoring interface names to use -able suffix (#535) * Adding Go documentation and refactoring to return type-specific interfaces from ValueFrom<type> functions (#535) * Adding further Go documentation (#535) * Apply suggestions from code review Co-authored-by: Brian Flad <bflad417@gmail.com> * Amending Go documentation (#535) * Adding changelog, amending Go documentation and adding unit tests for attribute plan modification and attribute validation for custom nested attribute types (#535) Co-authored-by: Brian Flad <bflad417@gmail.com>
- Loading branch information
1 parent
6fea713
commit bf1ce9b
Showing
23 changed files
with
1,482 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
```release-note:enhancement | ||
types: Added `BoolTypable` and `BoolValuable` interface types, which enable embedding existing boolean types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `Float64Typable` and `Float64Valuable` interface types, which enable embedding existing float64 types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `Int64Typable` and `Int64Valuable` interface types, which enable embedding existing int64 types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `ListTypable` and `ListValuable` interface types, which enable embedding existing list types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `MapTypable` and `MapValuable` interface types, which enable embedding existing map types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `NumberTypable` and `NumberValuable` interface types, which enable embedding existing number types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `ObjectTypable` and `ObjectValuable` interface types, which enable embedding existing object types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `SetTypable` and `SetValuable` interface types, which enable embedding existing set types for custom types | ||
``` | ||
|
||
```release-note:enhancement | ||
types: Added `StringTypable` and `StringValuable` interface types, which enable embedding existing string types for custom types | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.