Skip to content

Allow turbo streams for unprocessable entity responses #56

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

Merged

Conversation

KirilSoshnin
Copy link
Contributor

Since Rails can respond with 422 when form validation fails for example, allow request.js to perform and render turbo stream messages for both 200 and 422 response codes.

Since Rails can respond with 422 when form validation fails for example,
allow request.js to perform and render turbo stream messages for both
200 and 422 response codes.
@marcelolx marcelolx merged commit 4821f5c into rails:main Mar 20, 2023
@morgoth
Copy link
Member

morgoth commented Sep 21, 2023

I just hit the same issue.

@marcelolx Is there any chance to have it released in the stable version?

@marcelolx
Copy link
Collaborator

@morgoth I will see if I can push a release tomorrow morning!

@marcelolx
Copy link
Collaborator

@morgoth https://github.com/rails/request.js/releases/tag/v0.0.9

@morgoth
Copy link
Member

morgoth commented Sep 26, 2023

Thank you

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