Skip to content

Commit

Permalink
Update types.go
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan <148575555+nathan-artie@users.noreply.github.com>
  • Loading branch information
nathan-artie authored Apr 8, 2024
1 parent 9a5562f commit 410b9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debezium/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (f Field) ParseValue(value any) (any, error) {
if bytes, ok := value.([]byte); ok {
// Preserve existing behavior by base64 encoding []byte values to a string.
// TODO: Look into inverting this logic so that in the case the field type is "bytes" but the value is a string we
// base64 decode it here, then things downstream from here can just deal with []byte values.
// base64 decode it here. Then things downstream from here can just deal with []byte values.
return base64.StdEncoding.EncodeToString(bytes), nil
}

Expand Down

0 comments on commit 410b9be

Please sign in to comment.