Skip to content

Store and retrieve type hints for Object type property values even when those are considered as simple types. [DATAREDIS-489] #1065

@spring-projects-issues

Description

@spring-projects-issues

Christoph Strobl opened DATAREDIS-489 and commented

static class Foo {
	Map<String, Object> map = new HashMap<String, Object>();
}

Foo foo = new Foo();
foo.map.put("foo", "bar");

RedisData rd = write(foo);

Foo result = converter.read(Foo.class, rd);
assertThat(result.map.get("foo"), instanceof(String.class));

Affects: 1.7.1 (Hopper SR1)

Attachments:

Backported to: 1.7.2 (Hopper SR2)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions