spring-projects/spring-data-mongodb — pull request #188 by christophstrobl (2014-06-11 11:45:52+00:00)
Title: DATAMONGO-952 - Derived query should consider @Query(fields=…

We check for the presence of field restrictions in the way of single string field name or as json representation in form of `{ fieldname : 1 }` and apply those to the derived query.

Therefore we moved parameter replacement from `StringBasedMongoQuery` to `PartTreeMongoQuery`.

----
Should be back ported to `1.5.x`
This one does (though not clean) also applies on `1.4.x`.