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

gaspardpetit opened this Issue May 6, 2015 · 0 comments


None yet

2 participants



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.

@timowest timowest added the progress label May 6, 2015
@johnktims johnktims closed this in #1351 May 9, 2015
@timowest timowest removed the progress label May 9, 2015
@timowest timowest added this to the 4.0.0 milestone May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment