We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d81e4c commit f0e495eCopy full SHA for f0e495e
1 file changed
eval/public/structs/cel_proto_wrap_util.cc
@@ -334,7 +334,7 @@ class ValueManager {
334
return nested_message->ParsePartialFromString(string);
335
},
336
[nested_message](const absl::Cord& cord) -> bool {
337
- return nested_message->ParsePartialFromCord(cord);
+ return nested_message->ParsePartialFromString(cord);
338
}),
339
cel::well_known_types::AsVariant(payload));
340
if (!ok) {
@@ -578,7 +578,7 @@ class ValueManager {
578
}
579
auto* value = google::protobuf::Arena::Create<T>(arena_);
580
absl::Cord serialized;
581
- if (!message->SerializeToCord(&serialized)) {
+ if (!message->SerializeToString(&serialized)) {
582
return CreateErrorValue(
583
arena_, absl::UnknownError(
584
absl::StrCat("failed to serialize dynamic message: ",
0 commit comments