-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(grpc-transcode): filter out illegal INT(string) formats #11367
Conversation
Hi @yzeng25 , |
Let's seek help from others who are more familiar with CIs. @pottekkat @shreemaan-abhishek @nic-6443 |
|
t/plugin/grpc-transcode3.t
Outdated
--pb.option "int64_as_string" | ||
--pb.option "int64_as_hexstring" | ||
pb_encode("IntStringPatterns", supported) | ||
local status, err = pcall(pb_encode, "IntStringPatterns", unsupported) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to avoid using repeated
and check all supported/unsupported types in a loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shreemaan-abhishek test case updated, pls. re-check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, I will check this PR after the CI completes run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Pals, Ping @yzeng25 :D |
Description
Need to sync. lua-protobuf lib. updated by this PR(starwing/lua-protobuf#269).
Fixes #11355
Checklist