Documentation don't mention aditional dependencies for each type of serializer [DATAREDIS-433] #1008
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: documentation
A documentation update
type: enhancement
A general enhancement
Diego Magalhaes opened DATAREDIS-433 and commented
Hey guys,
Using the spring-boot-starter-redis in my pom.xml and trying to use this Configuration class leads me to a compile error in the 1.3.0.M5:
The error is
The JacksonJsonRedisSerializer<ShortenedURL> only works after adding the jackson-mapper-asl dependency to my pom.xml
As
@wilkinsona
noted in spring-projects/spring-boot#3985, it's like that by design, but IMO the documentation fails to provide that explicitly. (http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/#redis:serializer)Could we be more specific in the sense if the user wants to use another serializer such as Jackson in this case, that he nees to add proper configuration to his pom.xml/gradle etc?
There's another formatting issue in this section of the docs near the GenericJackson2JsonRedisSerializer word, not making that code formatted. Should I open a separated issue for that?
Affects: 1.6 GA (Gosling)
Reference URL: http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/#redis:serializer
Referenced from: pull request #172, and commits ee97681, 3524775
The text was updated successfully, but these errors were encountered: