Skip to content

TypeDiscoverer uses single-level nesting for generics comparison #3051

Closed
@jinganix

Description

@jinganix

DEMO repo: https://github.com/jinganix/spring-data-mongodb-issue

When running test in ConverterTest.java, it will throw error:

org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.math.BigDecimal] for value [Bar]

There is no error if we removed this line: https://github.com/jinganix/spring-data-mongodb-issue/blob/296bd2c3a801f54f35e794dec2a3af12229f6a54/src/test/java/com/example/demo/model/FooCollection.java#L13

please have a check

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions