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

Support querying boolean field without eq/ne true/false #42

Open
desavitsky opened this issue Jan 28, 2024 · 0 comments
Open

Support querying boolean field without eq/ne true/false #42

desavitsky opened this issue Jan 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@desavitsky
Copy link
Contributor

Currently to query boolean field it is required to compare with true/false, for example:

case class Foo(bar: Boolean)

// current:
val q = query[Foo](_.bar == true)

// desired
val q = query[Foo](_.bar)

@oolong/maintainers

@desavitsky desavitsky added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant