interagent / committee

A collection of Rack middleware to support JSON Schema.
MIT License
883 stars 135 forks source link

Ensure body is rewound #425

Closed tt closed 5 months ago

tt commented 5 months ago

This is a small change to always rewind the request body. Rack::Request#POST no longer does this in recent Rack versions. It was removed in rack/rack@42aff22f708123839ba706cbe659d108b47c40c7.

Rack::RewindableInput::Middleware is likely going to be required for most users of this library.

Committee requires more changes to be compatible with Rack 3.1.x. I'm adding a constraint so Bundler doesn't try to upgrade dependencies past what's supported.

beanieboi commented 5 months ago

@ydah Can we merge this?

ydah commented 5 months ago

@tt Do you need a release including this PR change sooner? If yes, we will release immediately.

tt commented 5 months ago

@ydah, that would be excellent. Thank you.