Minor: add TODO to improve an error message.

pull/2250/head
Jorge Canizales 10 years ago
parent 50f198260e
commit 3cacaacf88
  1. 2
      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])) {

Loading…
Cancel
Save