[Question] how to catch Integer overflow in grpc server ?
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
I defined a field `uint32 userId` in pb3,so `userId` should be between 0 and 4294967295.
But when grpc client pass an overflow-int like 4294967297 to grpc server, the server received `userId: 1` without any exception.
How to catch something like this?
A solution to solve this will be greatly appreciated!
Contributor guide
Assessment
This issue has not been assessed yet.