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

Construct MorphiaQueries with entity type (Class<K>) instead of EntityPath<K> #1347

gaspardpetit opened this issue May 6, 2015 · 0 comments


Copy link

@gaspardpetit gaspardpetit commented May 6, 2015


Regarding com.mysema.query.mongodb.morphia.MorphiaQuery:

I would like to suggest using a Class instead of a EntityPath for the construction of a MorphiaQuery. The current implementation pulls unnecessary dependencies on EntityPath and in the case I had, forces me to create an EntityPath just so the MorphiaQuery can get the type of my entity out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.