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
PR #1002 adds syntax for specifying extension fields for select operations, but at the moment the type check and runtime steps don't consider extensions for message creation.
Feature request checklist
There are no issues that match the desired change
The change is large enough it can't be addressed with a simple Pull Request
Change
Add support for setting extension fields by fully qualified name in protobuf message struct creation. I suspect this isn't a major change, but will address separately from the parser changes to support the syntax.
Example
// Creates a new struct with the extension set:
ExampleType{
`google.expr.proto2.test.int32_ext`: 42,
field: "foo"
}.`google.expr.proto2.test.int32_ext` == 42
PR #1002 adds syntax for specifying extension fields for select operations, but at the moment the type check and runtime steps don't consider extensions for message creation.
Feature request checklist
Change
Add support for setting extension fields by fully qualified name in protobuf message struct creation. I suspect this isn't a major change, but will address separately from the parser changes to support the syntax.
Example
Alternatives considered
This could be implemented by macro, e.g.
but dedicated syntax is a bit more clear and in either case there needs to be some update to type check and evaluation to fully support.
The text was updated successfully, but these errors were encountered: