You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expected: "**Operator**: `?`\n\nThe ternary operator tests a boolean predicate and returns the left-hand side (truthy) expression if true, or the right-hand side (falsy) expression if false\n\n**Overloads**:\n- `bool ? <T> : <T> -> <T>`\n\n[CEL by Example](https://celbyexample.com/ternary/)",
559
559
},
560
560
561
+
// Protovalidate special variable: now
562
+
// Line 372 (0-indexed): ` expression: "this < now"`
563
+
// ^--- now at column 24
564
+
{
565
+
name: "variable: now",
566
+
line: 372,
567
+
char: 24,
568
+
expected: "**Special variable**\n\nThe current timestamp at the time of validation.\n\n**Type**: `google.protobuf.Timestamp`\n\n[Protovalidate CEL Extensions](https://protovalidate.com/reference/cel_extensions/#now)",
569
+
},
570
+
571
+
// Protovalidate double extension functions
572
+
// Line 378 (0-indexed): ` expression: "this.isNan()"`
573
+
// ^--- isNan at column 22
574
+
{
575
+
name: "function: isNan",
576
+
line: 378,
577
+
char: 22,
578
+
expected: "`isNan`\n\n**Overloads**:\n- `double.isNan() -> bool`\n\n[Protovalidate CEL Extensions](https://protovalidate.com/reference/cel_extensions/#isnan)",
579
+
},
580
+
// Line 383 (0-indexed): ` expression: "this.isInf()"`
581
+
// ^--- isInf at column 22
582
+
{
583
+
name: "function: isInf",
584
+
line: 383,
585
+
char: 22,
586
+
expected: "`isInf`\n\n**Overloads**:\n- `double.isInf() -> bool`\n- `double.isInf(int) -> bool`\n\n[Protovalidate CEL Extensions](https://protovalidate.com/reference/cel_extensions/#isinf)",
587
+
},
588
+
589
+
// Protovalidate list extension function
590
+
// Line 389 (0-indexed): ` expression: "this.unique()"`
expected: "**Special variable**\n\nRefers to the current message or field being validated.\n\nIn field-level rules, `this` refers to the field value.\nIn message-level rules, `this` refers to the entire message.\n\n[Protovalidate CEL Extensions](https://protovalidate.com/reference/cel_extensions/#this)",
567
605
},
568
606
{
569
607
name: "message-level: &&",
570
-
line: 377,
608
+
line: 400,
571
609
char: 33,
572
610
expected: "**Operator**: `&&`\n\nlogically AND two boolean values. Errors and unknown values\nare valid inputs and will not halt evaluation.\n\n**Overloads**:\n- `bool && bool -> bool`\n\n[CEL by Example](https://celbyexample.com/logical-operators/#and)",
573
611
},
574
612
{
575
613
// `this.name` in the message-level expression; hovering over `name` should
576
614
// resolve to CELMessageTest.name (string, field 1).
0 commit comments