Comments (3)
My current thinking is that we should have a separate PbByteList class and use PbList only for repeated fields.
from protobuf.dart.
Also, we should review all ByteData usages; I think some are left over.
from protobuf.dart.
(I hope this is a good place to post this...)
When printing, a byte array is displayed as a repeated field:
event: {
subscriptionId: 4
jobStatuses: {
statuses: {
jobId: 59
jobId: 13
jobId: 170
jobId: 174
jobId: 17
jobId: 245
jobId: 67
jobId: 228
jobId: 174
jobId: 144
jobId: 9
jobId: 218
jobId: 195
jobId: 86
jobId: 204
jobId: 248
...
In this example jobId
is a UUID containing 3b0daaae11f543e4ae9009dac356ccf8
. This field is declared as optional bytes
field, but it is rendered like repeating int32
.
from protobuf.dart.
Related Issues (20)
- Security Policy violation Binary Artifacts HOT 3
- @$GrpcServiceName : unrecognized annotation in contrat.pbgrpc.dart HOT 4
- Repeated enum does not honor ignoreUnknownFields HOT 1
- Add back named constructor arguments (or include as an option) HOT 12
- Why aren't not null checks included in the generated code? HOT 1
- grpc-web request from linux client
- Consider generating actual `enum`s
- Unknown Fields HOT 12
- How do you generate via buf? HOT 2
- Error: Couldn't find constructor 'GrpcServiceName'. HOT 8
- Generate nullable types from WKT wrappers HOT 1
- Bad state: No element HOT 3
- GeneratedMessage constructors with `result` parameter conflict with `result` local var. HOT 1
- toProto3Json converts Int64 values to strings HOT 1
- Impossible to distinguish the `oneof` fields from non-`oneof` fields when creating/using a generated class instance. HOT 4
- How to access google.protobuf.FieldOptions extensions? HOT 1
- Prohibit ..deepCopy() call HOT 1
- Generated gRPC client method stubs get no comments or deprecation annotations HOT 1
- Incompatibility with Java-generated Serialized Protocol Buffer in Dart Protocol Buffers Library
- `protoc` does not generate built-in types HOT 1
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 protobuf.dart.