Repository query into embedded simple type structure throws MappingException #3983
Labels
for: team-attention
An issue we need to discuss as a team to make progress
type: bug
A general bug
type: enhancement
A general enhancement
Attempting to use a Spring Data repository to query the structure of a simple type (i.e., a type having a write converter) embedded in another type fails to a
MappingException
. This problem is present in the latest Spring Data MongoDB version 3.3.2 and seems to have been introduced in this Spring Data Commons commit originally included in Spring Data Commons 2.5.0-M3 (see the issue #2294 and the PR #2293). A similar problem seems to have been reported in #3659, but the associated PR #3661 appears to have fixed the issue only for executions originating fromQueryMapper
.Example
MappingException
stack trace.Here's a test that reproduces the problem.
The text was updated successfully, but these errors were encountered: