Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
copybara-service[bot] wants to merge 1 commit into
maincel-expr/cel-python:mainfrom
test_925627200cel-expr/cel-python:test_925627200Copy head branch name to clipboard
Open

Add support for type signatures in CEL environment YAML configuration.#73
copybara-service[bot] wants to merge 1 commit into
maincel-expr/cel-python:mainfrom
test_925627200cel-expr/cel-python:test_925627200Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.