Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix events with empty params #456

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Fix events with empty params #456

merged 2 commits into from
Feb 13, 2025

Conversation

DZakh
Copy link
Member

@DZakh DZakh commented Feb 13, 2025

rescript-schema v9 started to have stricter validation for literal fields, which made it fail when trying to convert empty event params to raw events. The failure was because of another really old bug in the convertHyperSyncEventArgs where we simply passed through decodedEvent instead of returning ().

Copy link
Contributor

@DenhamPreen DenhamPreen left a comment

Choose a reason for hiding this comment

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

🙌

@DZakh DZakh enabled auto-merge (squash) February 13, 2025 10:35
@DZakh DZakh merged commit 0c88076 into main Feb 13, 2025
1 check passed
@DZakh DZakh deleted the dz/fix-empty-params branch February 13, 2025 12:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants