Skip to content

Allow turbo streams for unprocessable entity responses#56

Merged
marcelolx merged 1 commit intorails:mainfrom
KirilSoshnin:allow-unprocessable-entity-turbo-stream
Mar 20, 2023
Merged

Allow turbo streams for unprocessable entity responses#56
marcelolx merged 1 commit intorails:mainfrom
KirilSoshnin:allow-unprocessable-entity-turbo-stream

Conversation

@KirilSoshnin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

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

@marcelolx
Copy link
Copy Markdown
Collaborator

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

@morgoth
Copy link
Copy Markdown
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