Martin Panzer

Results 63 comments of Martin Panzer

Hey @geoand I am now facing the same problem. https://github.com/quarkusio/quarkus/blob/main/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/api/WebClientApplicationException.java#L29 The used Exception simply does not ever have the reponse available, just a dummy implementation. So it is more of...

@majugurci Thanks for the idea. In the end this was my final solution: ``` @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) @Path("/admin/realms/{realm}/users/{user-id}") public interface UserAPI extends Closeable { @PUT @Path("reset-password") Response resetPassword(@PathParam("realm") String realm, @PathParam("user-id")...

> Sorry for not commenting but I'm on PTO till next week (Fri) so I can comment with phone :P @franz1981 no worries, I don't mind the back and forth...

> I would suggest to just return the match without allocating any list, but just the top match I now return an Iterator, which allows to try the next match.

drafting this PR, I might be able to simplify more in the common case (where only one path matches).

@gsmet @franz1981 Next attempt. This time no additional allocations in the common path; simpler diff.

@franz1981 Sorry for the ping, but it has been a few days since the last update. And I kind of want to get this off my plate :)

Thanks for reporting this @DManstrator This is caused by https://issues.apache.org/jira/browse/MNG-5561, which is fixed in maven 3.8.5. I will add a note about this in the migration section of the README.

@FroMage I also sometimes just check for existence in my apps, and then throw an NotFoundException. If you want, I can try to implement this feature.

yep, will take a look. Might take a bit though for me to get started on this one.