In oder to preserve contextual information the PersistentPropertyPathFactory should obtain EntityInformation for properties from the MappingContext via their PersistentProperty representation instead of plain TypeInformation as the former contains more information about the actual type and signatures.
Related to: spring-projects/spring-data-mongodb#2803