palantir / conjure-rust

Conjure support for Rust
Apache License 2.0
20 stars 11 forks source link

Support dynamic configuration of conversion logic #182

Open sfackler opened 2 years ago

sfackler commented 2 years ago

All of the request and response conversion logic is currently hardcoded in conjure_http::private::server. In particular, this includes things like maximum request sizes and supported content types. We may want to make this configurable in a similar way to conjure-java's UndertowRuntime. This could probably be done backwards compatibly with a default type parameter?

sfackler commented 2 years ago

The situation is similar on the client side.