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

Minor adjustment to type-tests to support custom Bool types #521

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

TristonianJones
Copy link
Collaborator

It looks like some teams have attempted to create their own custom Bool types
which means that the types.IsBool updates for performance would have broken
these users. Re-adding the fallback type test case.

Note: The tests for IsError, IsUnknown, and IsUnknownOrError exclusively
use the CEL defined type for both error and unknown and users should not create
custom values derivations for these types.

@TristonianJones TristonianJones requested a review from jcking March 25, 2022 20:35
@TristonianJones TristonianJones merged commit 2bf9375 into google:master Mar 25, 2022
@TristonianJones TristonianJones deleted the type-test-adjustment branch March 25, 2022 21:03
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