Skip to content

fix: make calling createSessionId for the same entity return the same id#587

Merged
solareon merged 2 commits into
mainfrom
feat-createSessionId-idempotent
Sep 28, 2024
Merged

fix: make calling createSessionId for the same entity return the same id#587
solareon merged 2 commits into
mainfrom
feat-createSessionId-idempotent

Conversation

@Manason

@Manason Manason commented Sep 28, 2024

Copy link
Copy Markdown
Contributor

Current behavior is that it will overwrite. This just saves callers from needing to check if a sessionId already exists before creating one and adds some protection to bugs that would be caused by doing so.

@solareon solareon merged commit f889ceb into main Sep 28, 2024
@solareon solareon deleted the feat-createSessionId-idempotent branch September 28, 2024 16:34
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