change Product.id to string
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
cc8ef35006
commit
2316e25504
4 changed files with 188 additions and 188 deletions
|
@ -59,7 +59,7 @@ service ProductCatalogService {
|
|||
}
|
||||
|
||||
message Product {
|
||||
int32 id = 1;
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
string description = 3;
|
||||
string picture = 4;
|
||||
|
@ -71,7 +71,7 @@ message ListProductsResponse {
|
|||
}
|
||||
|
||||
message GetProductRequest {
|
||||
int32 id = 1;
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message SearchProductsRequest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue