-
Notifications
You must be signed in to change notification settings - Fork 869
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
Pimp instanceOf() with varargs #126
Comments
I'd prefer instanceOfAny(Class<?>... types) since it could be also interpreted wrongly. |
Sure, sounds good. And for the inverse I can simply add |
Yes |
Released in 2.5.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference:
https://groups.google.com/forum/#!topic/querydsl/5iXuogWxNYE
Use case:
Type A has numerous sub types K, L, M, etc. I need to query for a subset of sub types.
To add comfort it'd be really helpful if
com.mysema.query.types.path.BeanPath.instanceOf(Class<B>)
offered something like an overloaded methodinstanceOf(Class<B>...)
.Currently I use something like
The text was updated successfully, but these errors were encountered: