Cache, allow custom wrapper types other than java.util.Optional [SPR-16530] #21073
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Ken Schosinsky opened SPR-16530 and commented
Currently the caching annotations can only work with java.util.Optional. There's no support for other wrapper types (e.g. Vavr's Option/Try/Either/Lazy etc.).
I would like to be able to register custom return value unwrappers or something equivalent to the key property for the return value:
Greetings,
Ken
Issue Links:
The text was updated successfully, but these errors were encountered: