Skip to content
Snippets Groups Projects
user avatar
Sean Quah authored
It's important that collections returned from `@cached` methods are not
modified, otherwise future retrievals from the cache will return the
modified collection.

This applies to the return values from `@cached` methods and the values
inside the dictionaries returned by `@cachedList` methods. It's not
necessary for the dictionaries returned by `@cachedList` methods
themselves to be read-only.

Signed-off-by: default avatarSean Quah <seanq@matrix.org>
Co-authored-by: default avatarDavid Robertson <davidr@element.io>
d0c713cc
History
Name Last commit Last update
..