Skip to content

Implement CEL optional conformance support - #963

Merged
snazy merged 4 commits into
projectnessie:mainfrom
snazy:runt-opt-vals
Sep 17, 2026
Merged

snazy merged 4 commits into
projectnessie:mainfrom
snazy:runt-opt-vals

Conversation

@snazy

@snazy snazy commented Aug 20, 2026

Copy link
Copy Markdown
Member

Add runtime optional values and wire optional constructors, receiver methods, lazy optMap/optFlatMap macros, and optional access operators.

Parse optional select, index, list, map, and message syntax with CongoCC, then preserve the protobuf optional-entry AST fields through checking and interpretation.

Enable optionals conformance coverage and remove the optional-dependent block-extension skips.

Add runtime optional values and wire optional constructors, receiver methods, lazy optMap/optFlatMap macros, and optional access operators.

Parse optional select, index, list, map, and message syntax with CongoCC, then preserve the protobuf optional-entry AST fields through checking and interpretation.

Enable optionals conformance coverage and remove the optional-dependent block-extension skips.
@snazy
snazy requested a review from XN137 August 20, 2026 09:50
Preserve lazy evaluation for optional.or() and optional.orValue().

Validate optional aggregate entries, selection types, and typed optional indexes. Treat zero durations and epoch timestamps as zero values.
Return invalid list-index errors instead of wrapping them as present optional values. Preserve lazy optional fallbacks for parse-only expressions.
Assign a distinct ID to synthesized optional-select fields and reject optional-select syntax when the optional library is not configured.
@snazy
snazy merged commit 8964243 into projectnessie:main Sep 17, 2026
3 checks passed
@snazy
snazy deleted the runt-opt-vals branch September 17, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants