Skip to content

Conversation

@hickford
Copy link
Contributor

Helper DeclareContextProto to extend CEL environment with declarations from the given context proto. Each field of the proto defines a variable of the same name in the environment (https://github.com/google/cel-spec/blob/master/doc/langdef.md#evaluation-environment).

TESTED=bazel test ...

@hickford hickford marked this pull request as draft August 12, 2021 10:47
@hickford hickford force-pushed the declare-context-proto branch from 9dfa0b7 to 0d6d873 Compare August 12, 2021 10:57
@hickford hickford marked this pull request as ready for review August 12, 2021 10:58
@hickford
Copy link
Contributor Author

@TristonianJones Here's the review discussed elsewhere

@TristonianJones
Copy link
Collaborator

/gcbrun

@hickford hickford force-pushed the declare-context-proto branch 2 times, most recently from f12979e to 72baebc Compare August 13, 2021 10:28
@hickford
Copy link
Contributor Author

Thanks for your comments. Ready for review again.

@TristonianJones
Copy link
Collaborator

/gcbrun

@hickford hickford force-pushed the declare-context-proto branch from 72baebc to abbf264 Compare August 16, 2021 11:41
@hickford
Copy link
Contributor Author

Thanks again, ready.

…s from the given context proto. Each field of the proto defines a variable of the same name in the environment (https://github.com/google/cel-spec/blob/master/doc/langdef.md#evaluation-environment).

TESTED=bazel build ... && bazel test ...
@hickford hickford force-pushed the declare-context-proto branch from abbf264 to 97c5bc4 Compare August 16, 2021 13:26
@TristonianJones
Copy link
Collaborator

/gcbrun

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