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

Fix undefined params when http streaming is on #288

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Fix undefined params when http streaming is on #288

merged 1 commit into from
Aug 26, 2024

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Aug 9, 2024

When the http stream feature is turned on, some params are not being set. This is because fromRpcTypedData tries to JSON parse strings and will return values that are objects/numbers/etc which we don't want. Fix was to bypass fromRpcTypedData and return the string directly.

Fixes #285

@ejizba
Copy link
Contributor Author

ejizba commented Aug 26, 2024

@ejizba ejizba merged commit 3b7887e into v4.x Aug 26, 2024
12 checks passed
@ejizba ejizba deleted the ej/param branch August 26, 2024 21:59
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.

v4 model non-string route parameters are undefined
2 participants