Skip to content

session: add WithID option for custom session IDs#2331

Open
shaj13 wants to merge 1 commit intodocker:mainfrom
shaj13:shaj13/sesid
Open

session: add WithID option for custom session IDs#2331
shaj13 wants to merge 1 commit intodocker:mainfrom
shaj13:shaj13/sesid

Conversation

@shaj13
Copy link
Copy Markdown
Contributor

@shaj13 shaj13 commented Apr 6, 2026

Allow setting the session ID explicitly instead of relying on the default UUID generation. In some circumstances the session ID needs to be prefixed, or comes from an external source.

Apply options before generating UUID, allowing callers to set a custom session ID via WithID. If no ID is provided, a UUID is generated.

@shaj13 shaj13 requested a review from a team as a code owner April 6, 2026 16:06
Apply options before generating UUID, allowing callers to set a custom
session ID via WithID. If no ID is provided, a UUID is generated.
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