Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Since records only provide shallow immutability, we should default to not caching. Later, as a future enhancement, we could turn caching back on if we can determine that all record components are indeed immutable, e.g. all primitives or Strings for instance. For now, caching would be enabled using a custom @ToString.