News for hackers. Stuff that matters.
Re:Hilla: Modern web framework for Java by henning on Wednesday March 09, 2022 @06:05PM (#30621173)
If you put @AllArgsConstructor from Lombok on that PersonEndpoint class, you should be able to remove the boilerplate `public PersonEndpoint(PersonRepository repository) { this.repository = repository; }` constructor entirely since the Lombok annotation will generate it for you. Seems reasonable to do if the point is to show "modern Java".

There are no comments on this comment yet.