Skip to content

No public description #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eval/public/structs/cel_proto_wrap_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class ValueManager {
return nested_message->ParsePartialFromString(string);
},
[nested_message](const absl::Cord& cord) -> bool {
return nested_message->ParsePartialFromCord(cord);
return nested_message->ParsePartialFromString(cord);
}),
cel::well_known_types::AsVariant(payload));
if (!ok) {
Expand Down Expand Up @@ -578,7 +578,7 @@ class ValueManager {
}
auto* value = google::protobuf::Arena::Create<T>(arena_);
absl::Cord serialized;
if (!message->SerializeToCord(&serialized)) {
if (!message->SerializeToString(&serialized)) {
return CreateErrorValue(
arena_, absl::UnknownError(
absl::StrCat("failed to serialize dynamic message: ",
Expand Down