Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open the ASTValidator API to external authors #773

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

TristonianJones
Copy link
Collaborator

Remove the private interface method from the ASTValidator

Also, introduce a ValidatorConfig which is computed prior to calling Validate.
The ValidatorConfig allows validators to interact with each other. Currently, to
interact with another validator's configuration, the user must also implement the
ASTValidator interface as well. These concerns may be separated in the future.

cel/env.go Show resolved Hide resolved
cel/env.go Show resolved Hide resolved
@TristonianJones TristonianJones merged commit 0856c6d into google:master Jul 12, 2023
2 checks passed
@TristonianJones TristonianJones deleted the open-validator-api branch July 12, 2023 06:06
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.

3 participants