Skip to content

[cel-types] Add YAML encoding and decoding for CEL TypeDef and aspects. - #2330

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993955156
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993955156

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

[cel-types] Add YAML encoding and decoding for CEL TypeDef and aspects.

Introduce AspectYaml and AspectYamlRegistry in common/typedef/aspect_yaml for pluggable YAML encoding and decoding of aspects (e.g. target-schema-specific properties). Implement TypeDefFromYaml and TypeDefToYaml in common/typedef/typedef_yaml, supporting both concise type signatures (list<string>) and structured TypeSpec representations as well as delegating aspects blocks to registered AspectYaml codecs.

@copybara-service
copybara-service Bot force-pushed the test_993955156 branch 2 times, most recently from 339046b to becfb65 Compare October 23, 2026 23:48
@copybara-service copybara-service Bot changed the title [cel-types] Add YAML encoding and decoding for CEL TypeDef and Schema properties. [cel-types] Add YAML encoding and decoding for CEL TypeDef and aspects. Oct 23, 2026
Introduce `AspectYaml` and `AspectYamlRegistry` in `common/typedef/aspect_yaml` for pluggable YAML encoding and decoding of aspects (e.g. target-schema-specific properties). Implement `TypeDefFromYaml` and `TypeDefToYaml` in `common/typedef/typedef_yaml`, supporting both concise type signatures (`list<string>`) and structured `TypeSpec` representations as well as delegating `aspects` blocks to registered `AspectYaml` codecs.

PiperOrigin-RevId: 993955156
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.

1 participant