rails / request.js

MIT License
389 stars 28 forks source link

Allow turbo streams for unprocessable entity responses #56

Closed KirilSoshnin closed 1 year ago

KirilSoshnin commented 1 year ago

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.

morgoth commented 11 months ago

I just hit the same issue.

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

marcelolx commented 11 months ago

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

marcelolx commented 11 months ago

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

morgoth commented 11 months ago

Thank you