Skip to content

session: add WithID option for custom session IDs#2331

Merged
dgageot merged 1 commit intodocker:mainfrom
shaj13:shaj13/sesid
Apr 7, 2026
Merged

session: add WithID option for custom session IDs#2331
dgageot merged 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.
@dgageot dgageot merged commit 9dfb2e8 into docker:main Apr 7, 2026
4 checks passed
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.

3 participants