Skip to content

Commit 306aa50

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
Export kPayloadUrlMissingAttributePath to public header.
PiperOrigin-RevId: 575630771
1 parent 448de14 commit 306aa50

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

eval/public/cel_value.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ struct DebugStringVisitor {
107107

108108
} // namespace
109109

110+
const absl::string_view kPayloadUrlMissingAttributePath =
111+
cel::runtime_internal::kPayloadUrlMissingAttributePath;
112+
110113
CelValue CelValue::CreateDuration(absl::Duration value) {
111114
if (value >= cel::runtime_internal::kDurationHigh ||
112115
value <= cel::runtime_internal::kDurationLow) {

eval/public/cel_value.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ ABSL_DEPRECATED("Prefer using the generic MemoryManager overload")
684684
CelValue CreateMissingAttributeError(google::protobuf::Arena* arena,
685685
absl::string_view missing_attribute_path);
686686

687+
ABSL_CONST_INIT extern const absl::string_view kPayloadUrlMissingAttributePath;
687688
bool IsMissingAttributeError(const CelValue& value);
688689

689690
// Returns error indicating the result of the function is unknown. This is used

0 commit comments

Comments
 (0)