Stéphane Épardaud

Results 666 comments of Stéphane Épardaud

Related to https://github.com/eclipse-vertx/vertx-auth/pull/670

Please open an enhancement PR in Quarkus core at https://github.com/quarkusio/quarkus/issues/new/choose

It's here: https://github.com/quarkusio/quarkus/blob/main/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/handlers/ClassRoutingHandler.java

In Renarde, validation is called, but you still get in the endpoint, so you have to check for valition with `validation.hasErrors()`. This allows you to add more custom validation than...

Are you using `boolean Controller.validationFailed()`? If yes, then it will call `prepareForErrorRedirect()`, which will only work if you plan to redirect. For AJAX POST calls, you should call `validation.hasErrors()` which...

It cannot be automatic, that depends too much on what client framework you use, when using AJAX. I could definitely add _something_ to generate a JSON error structure from the...

Well, yes, but again, we could make it easier and define a header you can use to let Renarde know and a method to return a JSON error. Would you...

> anything that extends Renarde's Controller class gets the Renarde overrides, any other resources remains bound to the rules set by Quarkus That might be a strategy indeed. I have...

We could, I suppose. But I don't think we can do conditional routing like they do.