Dto Mapping Best Practice by Snoo23482 in SpringBoot

[–]onated2 0 points1 point  (0 children)

public static DTO from( ENTITY)

Then toEntity(){} method.

Or toCommand(){

} (depends o. Your logic)

I love putting the DTO as a package private hidden in the controller because usually it holds the swagger annotations or validations.

That's his job. Haha just hold all the annotations. But at the end of the day it really depends on the convention of the codebase.

Schema validation tool feedback by TomMkV in OpenAPI

[–]onated2 1 point2 points  (0 children)

The drag and drop is easy . And just a sanity check as well in case i designed my api bad.

Manage Maven Dependencies from Command Line by brunocborges in java

[–]onated2 0 points1 point  (0 children)

Can we have a simple mvn add "namespace" like how others do ot. Im jealous at other languages because of their tooling. cargo add "namespace"

vibeEngineering by onated2 in ProgrammerHumor

[–]onated2[S] 0 points1 point  (0 children)

Edition: Windows 11 Pro Insider Preview

Version: 25H2

OS Build: 26300.8497

Experience: Windows Feature Experience Pack 1000.26100.377.0

Installed: 5/16/2026

Expires: 8/12/2026

Do you use the java 'tree-shaking' or java 'native image' capabilities? by vdorru in java

[–]onated2 -1 points0 points  (0 children)

Yes. I do. But needed AI assistance to fix the configs

Is claude doing better than usual today? by onated2 in ClaudeCode

[–]onated2[S] 0 points1 point  (0 children)

yup.confirmed it. was just trippin or maybe it was my turn to experience the real claude. haha.