Skip to content

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

@shuqingzai

Description

@shuqingzai

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
    ];  
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions