diff options
author | 2015-06-29 16:45:46 -0700 | |
---|---|---|
committer | 2015-06-29 17:05:53 -0700 | |
commit | 3cacaacf88964a55bb2ed05c03967eeeaaef89f2 (patch) | |
tree | e3232e4aed0bbd61b218596da6f2b3e05fde925b /src/objective-c/ProtoRPC/ProtoRPC.m | |
parent | 50f198260e350a6f875a2ae94ad496d28f711bf2 (diff) |
Minor: add TODO to improve an error message.
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoRPC.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m index 517c4812a7..4da646d7b4 100644 --- a/src/objective-c/ProtoRPC/ProtoRPC.m +++ b/src/objective-c/ProtoRPC/ProtoRPC.m @@ -66,6 +66,8 @@ // A writer that serializes the proto messages to send. id<GRXWriter> bytesWriter = [[[GRXWriter alloc] initWithWriter:requestsWriter] map:^id(GPBMessage *proto) { + // TODO(jcanizales): Fail with an understandable error message if the requestsWriter isn't + // sending GPBMessages. return [proto data]; }]; if ((self = [super initWithHost:host method:method requestsWriter:bytesWriter])) { |