File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ func ReturnCollectionWithDynamicTypeDiag() diag.Diagnostic {
143143// IsAllowedPrimitiveType checks if the given attr.Type is an allowed primitive type for resource identity.
144144func IsAllowedPrimitiveType (typ attr.Type ) bool {
145145 switch typ .(type ) {
146- case basetypes.BoolType ,
147- basetypes.Float64Type ,
148- basetypes.Float32Type ,
149- basetypes.Int64Type ,
150- basetypes.Int32Type ,
151- basetypes.NumberType ,
152- basetypes.StringType :
146+ case basetypes.BoolTypable ,
147+ basetypes.Float64Typable ,
148+ basetypes.Float32Typable ,
149+ basetypes.Int64Typable ,
150+ basetypes.Int32Typable ,
151+ basetypes.NumberTypable ,
152+ basetypes.StringTypable :
153153 return true
154154 default :
155155 return false
You can’t perform that action at this time.
0 commit comments