You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default client and factory use a simple codec <String, String>. It is pretty easy to override this, however it isn't documented and the ability to specify a key/value codec could be simplified.
I had to do the following to get a custom protobuf session codec working where the UserSession is a proto we are using. Seems like overkill to have to redefine the entire class to achieve this result.
Also there isn't examples or documentation on the https://micronaut-projects.github.io/micronaut-redis/latest/guide/ site for serializing objects that do not use the session store/jackson. Perhaps the jackson/other serialization could simply be added as top level option like
The default client and factory use a simple codec
<String, String>
. It is pretty easy to override this, however it isn't documented and the ability to specify a key/value codec could be simplified.I had to do the following to get a custom protobuf session codec working where the
UserSession
is a proto we are using. Seems like overkill to have to redefine the entire class to achieve this result.Also there isn't examples or documentation on the https://micronaut-projects.github.io/micronaut-redis/latest/guide/ site for serializing objects that do not use the session store/jackson. Perhaps the jackson/other serialization could simply be added as top level option like
The text was updated successfully, but these errors were encountered: