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

Simplify definition of cel.Source #512

Merged
merged 1 commit into from Mar 20, 2022
Merged

Conversation

kortschak
Copy link
Contributor

I was going to file an issue for this to precede the PR, but this seems small enough to send and have discussion with code present. Details for rationale in commit message.

Please take a look.

This uses type aliasing to avoid the construction of a distinct type
name to expose the common.Source interface in cel, simplifying the API
docs and making it possible in future to share function literals between
packages.
@TristonianJones
Copy link
Collaborator

/gcbrun

@TristonianJones TristonianJones merged commit 07655ec into google:master Mar 20, 2022
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.

None yet

2 participants