Adam Gent
Adam Gent
So the idea with reproducible is that not only is your build reproducible but all tools you use. I too normally use the maven wrapper but when I was looking...
I agree with @jknack . It also begs the question of things like HTTP method `delete`. If it returns `null` does it `404`? You probably want to check the HTTP...
> return Result.ok(user).orElse(StatusCode.NOT_FOUND) This is the `Optional` style. That requires you return `Result` which I don't think exists in Jooby. I assume your idea is analogous to Spring's ResponseEntity: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/ResponseEntity.html...
> that's it, I didn't get about "ton of classes" The ton of classes was loaded with multiple things. If we did the `Result` I would want it like Spring's...
Also the `Result` type would need to handle various shapes like redirect. Actually the above is a far bigger pain for us than dealing with `404`. You see before everyone...
@jknack let me know what you decide or link PRs if you can. I may have to adjust the jstachio module. I have a plethora of output options: https://jstach.io/doc/jstachio/current/apidocs/io.jstach.jstachio/io/jstach/jstachio/output/package-summary.html Have...
My comments on this are here https://github.com/jooby-project/jooby/pull/3494#issuecomment-2278170227 . I'm not sure if this will be future place for this kind of discussion so I linked it.
I'll try to get to this before the end of the month. Sorry for the delay.
Maybe we shoot for 4.0.0 with this?
@kliushnichenko @jknack I'm not sure I like the name of jooby-validation if it is going to have a hard dependency on jakarta.validation. Is the plan to make the validation pluggable...