ruiaylin / goprotobuf

Automatically exported from code.google.com/p/goprotobuf
Other
0 stars 0 forks source link

Option feature seems to be not implemented #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
import "descriptor.proto";

extend google.protobuf.MessageOptions {
  optional uint32 TypeId = 50001;
}

message TestRequest {
  option (TypeId) = 1;
  required uint32 RequestId = 1;
  required string Query = 2;
}

The code produced doesn't allow to confront TypeId = 1 with TestRequest

Original issue reported on code.google.com by george.k...@gmail.com on 7 Jan 2013 at 5:38

GoogleCodeExporter commented 9 years ago
It's a feature we know we are missing. We will get to it eventually.

Original comment by dsymo...@golang.org on 7 Jan 2013 at 9:01

GoogleCodeExporter commented 9 years ago

Original comment by dsymo...@golang.org on 7 Jun 2013 at 11:43

GoogleCodeExporter commented 9 years ago
I'd really like this feature. Trying to process 
https://bitbucket.org/VoiDeD/steamre/src/fa0629561944/Resources/Protobufs/dota?a
t=default which seems to fail because of it.

Original comment by m.fellin...@gmail.com on 9 Jul 2013 at 7:15

GoogleCodeExporter commented 9 years ago
Any update on this feature? It's something that would be very useful.

Original comment by pe...@centzy.com on 14 Aug 2013 at 9:03

GoogleCodeExporter commented 9 years ago
+1 more specifically, I'd like to know if the feature for the "option 
optmize_for" would be included in this issue?

Original comment by manoj.da...@moovweb.com on 31 Aug 2013 at 12:36