Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkg/model/sdk_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var (
"string": "string",
"bool": "boolean",
"time.Time": "timestamp",
"bytes": "blob",
}
)

Expand Down Expand Up @@ -140,7 +141,7 @@ func (a *SDKAPI) GetShapeRefFromType(
// first check to see if the element type is a scalar and if it is, just
// create a ShapeRef to represent the type.
switch elemType {
case "string", "bool", "int", "int64", "float64", "time.Time":
case "string", "bool", "int", "int64", "float64", "time.Time", "bytes":
sdkType, found := GoTypeToSDKShapeType[elemType]
if !found {
msg := fmt.Sprintf("GetShapeRefFromType: unsupported element type %s", elemType)
Expand Down