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

feat: add custom prefix for session key #665

Merged
merged 7 commits into from
Nov 23, 2024
Merged

Conversation

KnorpelSenf
Copy link
Member

With multi sessions and the conversations plugin, storage adapters are used in many places. It needs to be made simple to store session data under namespaces. This PQ does that by adding a new option prefix to session config. The prefix will be prepended to every session key before reading, writing, or deleting data.

Copy link
Contributor

@KnightNiwrem KnightNiwrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test cases not verified by this review

@KnorpelSenf KnorpelSenf merged commit 9ca5335 into main Nov 23, 2024
6 checks passed
@KnorpelSenf KnorpelSenf deleted the prefix-session-keys branch November 23, 2024 08:18
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.

2 participants