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

handlerengine: check dynamic_cast #48123

Merged
merged 2 commits into from
Feb 18, 2025
Merged

handlerengine: check dynamic_cast #48123

merged 2 commits into from
Feb 18, 2025

Conversation

jkarneges
Copy link
Member

@jkarneges jkarneges commented Feb 18, 2025

Currently we determine which session type to cast to based on the payload type, but since casts are fallible it is enough to simply try each of the known session types and go with whichever one succeeds (if any).

@jkarneges jkarneges merged commit 3eb685c into main Feb 18, 2025
19 checks passed
@jkarneges jkarneges deleted the jkarneges/check-cast branch February 18, 2025 17:26
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