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

Add Condition.in(..) #150

Open
johanhaleby opened this issue Jan 30, 2024 · 2 comments
Open

Add Condition.in(..) #150

johanhaleby opened this issue Jan 30, 2024 · 2 comments

Comments

@johanhaleby
Copy link
Owner

It would be nice to be able to do:

domainEventQueries.exists(Filter.type(Condition.in("A", "B", "C")))
@johanhaleby
Copy link
Owner Author

Kotlin extension function can be created: isIn

@johanhaleby
Copy link
Owner Author

A naive implementation can transform in to multiple equals statements with or. But it's quite ugly, and it would be better to support it natively.

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

No branches or pull requests

1 participant