We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d528e commit 0baa18bCopy full SHA for 0baa18b
internal/common/autogen/customtypes/common.go
@@ -27,7 +27,6 @@ func getElementType[T any](ctx context.Context) (attr.Type, diag.Diagnostics) {
27
28
func valueToAttributeTypes(ctx context.Context, value reflect.Value) (map[string]attr.Type, diag.Diagnostics) {
29
valueType := value.Type()
30
-
31
if valueType.Kind() != reflect.Struct {
32
return nil, diag.Diagnostics{diag.NewErrorDiagnostic(
33
"Error getting value attribute types",
0 commit comments