Paul King created GROOVY-10608:
----------------------------------
Summary: The default toString for emulated records has caching
enabled
Key: GROOVY-10608
URL: https://issues.apache.org/jira/browse/GROOVY-10608
Project: Groovy
Issue Type: Bug
Reporter: Paul King
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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)