Comments (5)
This take effect, thanks a lot. But there another annoying case appear.
My request is
{
"uids": [
"2569253357013176641"
]
}
while the response is
{
"user_map": {
"A\u0011ÀÒPÒ§#": {
"uid": "2569253357013176641",
"nick_name": "刘勇#41793",
"user_icon": "https://icdn.rightpaddle.net/user_icon/2569253357013176641-21B8E06234BF40B4AEA436415821928E.jpg",
"signature": "",
"user_role": "0",
"status": 1,
"sex": 1,
"type": 1,
"risk_state": 0
}
}
}
the response user_map's key should be int64 or int64 string of id in request
, but in this case, it looks messy, so there is something I can do to solve this.
from bloomrpc.
Try passing the parameter as a string
instead of a number
i think protobuf will handle the parsing of the int64 internally
from bloomrpc.
@leaxoy mmmh, this is interesting... I've done a bit of digging on this and it looks like grpc-node
doesn't unserialise correctly int64
when defined on a map key, I'd be suggesting to open an issue on their repo https://github.com/grpc/grpc-node/issues and see what they say
from bloomrpc.
Please can you file an issue in grpc-node and open an new issue once upstream is resolved
from bloomrpc.
maybe you can try https://github.com/crossoverJie/ptg
from bloomrpc.
Related Issues (20)
- Cannot read property indexOf in version 1.5.3 HOT 2
- 1.5.3版本不支持enum类型的protoc-gen-validate验证 HOT 2
- Serialization failure when working with wrapped value JSON representations
- Fails to connect over IPv6
- 1.6.0 Release HOT 2
- New release process HOT 1
- Is there any command line version of this tool? HOT 2
- I got an error when I import multi protos , but can't find where is the problem
- proto use google validate An error occurred
- Web Toggle Button and other items to not appear in toolbar area
- Is it possible to save call records?
- Error "Unknown Content-type received." when linking grpc-gateway using grpc-web
- Error "14 UNAVAILABLE" when call .NET6 API with Http1AndHttp2 support on same port.
- Unable to connect to gRPC server using mutual TLS (mTLS) HOT 1
- google.protobuf.Empty.proto HOT 1
- Add support import/export grcurl HOT 3
- Can't build it on Ubuntu20.04 HOT 1
- metadata fields HOT 1
- "error": "14 UNAVAILABLE: failed to connect to all addresses" HOT 1
- Can't install in Mac M1: hdiutil: attach failed - no mountable file systems
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloomrpc.