Returns reference not copy
dotmilk opened this issue · 3 comments
dotmilk commented
For instance fetching some seldom changing data from the db caching it, then applying i18n to the result, pollutes subsequent cache fetches for the plain english result to be translated into another language.
mpneuried commented
See version 2.2.0 for the solution
mpneuried commented
After the issue #30 i revoked the version 2.2.0 due to the breaking change and made a major release 3.0.0
that will do the clone by default, but with an option to disable it.
dotmilk commented
Thanks ^_^