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

Update to Handle Boolean Type First Party Labels #522

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blackwire
Copy link
Collaborator

@blackwire blackwire commented Sep 24, 2024

There's an issue where it tries to compare a Boolean first party label via > (greater than) to a number. This isn't allowed and as such throws an error. The proposed change casts any values as an integer before doing the comparison so that if a Boolean is provided it will convert TRUE to 1 and FALSE to 0 and since labels are expected to be >= 1 in the event of counts or numeric values this should be a nice catchall.

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.

1 participant