Skip to content

Add support for type signatures in CEL environment YAML configuration.#2042

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

Add support for type signatures in CEL environment YAML configuration.#2042
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_925627200

Conversation

@copybara-service
Copy link
Copy Markdown

Add support for type signatures in CEL environment YAML configuration.

The env_yaml parser now accepts type signatures for variable types and function overload signatures. The type field can be used instead of type_name for variables, allowing a more compact representation of types, including type parameters and parameterized types. The signature field can be used for function overloads, providing a single string to define the overload's target, arguments, and member status. The return type in function overloads can now also be specified as a type signature string.

The `env_yaml` parser now accepts type signatures for variable types and function overload signatures. The `type` field can be used instead of `type_name` for variables, allowing a more compact representation of types, including type parameters and parameterized types. The `signature` field can be used for function overloads, providing a single string to define the overload's target, arguments, and member status. The `return` type in function overloads can now also be specified as a type signature string.

PiperOrigin-RevId: 925627200
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