-
-
Notifications
You must be signed in to change notification settings - Fork 201
Description
Unlike jooby2 in 3.x decoders installed in the main app is not applied to the routes were mounted from another app
class AppA extends Jooby {
{
post("/pets", ctx -> ctx.body(Pet.class));
}
}
class MainApp extends Jooby {
{
install(new JacksonModule());
mount(new AppA());
}
}Now hit post("/pets") and you will catch UnsupportedMediaType error, cause Jackson decoder was overridden at the copy route stage.
Hope it wasn't changed intentionally and we can return the Jooby2 behaviour
Reactions are currently unavailable