Skip to content

Commit

Permalink
Add blob back
Browse files Browse the repository at this point in the history
Signed-off-by: Hongxin Liang <[email protected]>
  • Loading branch information
honnix committed Oct 11, 2023
1 parent f6e7942 commit b246564
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ object SdkBindingDataConverters {
jf.Function.identity()
)
}
case LiteralType.Kind.BLOB_TYPE =>
TypeCastingResult(
SdkScalaLiteralTypes.blobs(lt.blobType()),
jf.Function.identity()
)
case LiteralType.Kind.SCHEMA_TYPE => ??? // TODO not yet supported
case LiteralType.Kind.COLLECTION_TYPE =>
val TypeCastingResult(convertedElementType, convFunction) = toScalaType(
Expand Down Expand Up @@ -256,6 +261,11 @@ object SdkBindingDataConverters {
jf.Function.identity()
)
}
case LiteralType.Kind.BLOB_TYPE =>
TypeCastingResult(
SdkJavaLiteralTypes.blobs(lt.blobType()),
jf.Function.identity()
)
case LiteralType.Kind.SCHEMA_TYPE =>
??? // TODO do we support schema type?
case LiteralType.Kind.COLLECTION_TYPE =>
Expand Down

0 comments on commit b246564

Please sign in to comment.