spring-projects/spring-data-mongodb — pull request #211 by olivergierke (2014-07-30 10:58:00+00:00)
Title: DATAMONGO-1012 - ID initialization for lazy DBRef proxies.

Rough draft for initial discussion. We now eagerly initialize the ID of the proxy to make sure the `BeanWrapper` can safely access the ID even if field access is used.

This is mainly coming from Spring Data REST which needs to build links pointing to related instances, which shouldn't actually require the target instance to be materialized fully.