Go-micro: all integer become string in 1.8.0

Created on 2 Aug 2019  路  1Comment  路  Source: asim/go-micro

we have message such as

message Group {
int64 id = 1;
}
we use go-micro with micro:kubernetes gateway. we found recently it automatic change all integer to string when we get json response. This break a lot of our production website. Why go-micro decide to make this break changee?

question

Most helpful comment

As i know this can be related to using jsonpb for grpc and proto stuff.
But for spec proto3 always use for int64 strings

>All comments

As i know this can be related to using jsonpb for grpc and proto stuff.
But for spec proto3 always use for int64 strings

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicocesar picture nicocesar  路  6Comments

xmlking picture xmlking  路  7Comments

hb-chen picture hb-chen  路  3Comments

chmorgan picture chmorgan  路  6Comments

5teven picture 5teven  路  5Comments