Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always cache the complete user record. #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rotdrop
Copy link
Contributor

@rotdrop rotdrop commented Feb 1, 2022

Rationale: the callback which tweaks the result is not part of the cache
key and differes between calls to getUsers(). So either the cache-key
would have to code the callback or we simply cache the complete user
record, regardless of the callback.

See also the issue #168

Rationale: the callback which tweaks the result is not part of the cache
key and differes between calls to getUsers(). So either the cache-key
would have to code the callback or we simply cache the complete user
record, regardless of the callback.

Signed-off-by: Claus-Justus Heine <[email protected]>
@rotdrop rotdrop force-pushed the bugfix/convert-cache-array-to-user-model branch from d4970ce to cfe7fc7 Compare February 1, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant