Skip to content
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

[Bug] When using uint64 or fixed64 types, string should be generated instead of number #109

Open
shuqingzai opened this issue Feb 13, 2023 · 1 comment

Comments

@shuqingzai
Copy link

shuqingzai commented Feb 13, 2023

See: https://protobuf.dev/programming-guides/proto3/#json

image

syntax = "proto3";

import "google/api/field_behavior.proto";

message Reply {
    fixed64 id = 1 [
        (google.api.field_behavior) = REQUIRED
    ];  
   uint64 userId = 2 [
        (google.api.field_behavior) = REQUIRED
    ];  
}
@ericwenn
Copy link
Member

This sounds great, PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants