GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-samples

Switch RPCs to use strings instead of bytes

Open
#32 0 comments 0 reactions 1 assignee Assigned to @honeybeebaby View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
36
Forks
32
PR merge metrics
No merged PRs in 30d

Description

## Issue

Our RPC messages currently use the `bytes` type for ids (128 bit UUIDs). However, bytes can complicate code and make running the code more difficult. It would be easier to both read and run if we used the `string` type instead for ids.

## Next steps

1. Change protobuf
2. Make changes in `FinAppService`, the `SpannerDaoInterface` and implementations, and wherever else is needed

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.