Kaique Garciafor<codeAspiras/>blog.codeaspiras.dev·Feb 7, 2024Recapitulação: Data-Transfer ObjectOlá, leitores do CodeAspiras! Estava aqui revisando os vídeos do nosso canal no YouTube e me deparei com o refinamento onde falamos sobre DTOs, estrutura que mencionei em um artigo de Golang anteriormente nesse blog. Esse vídeo traz outros exemplos s...Discussdata-transfer object
Kaique Garciafor<codeAspiras/>blog.codeaspiras.dev·Jan 30, 2024GO: O que raios é "config pattern"?Olá, leitores do CodeAspiras! Estou aqui novamente com mais um artigo de Golang para disseminar conhecimentos relevantes para a área. Dessa vez, venho com mais um conceito de desenvolvimento que é bom conhecer mas que não deve ser tão utilizado assim...Discussconfig pattern
Yaroslav Prozorovbyka.hashnode.dev·Sep 29, 2023JPA Authentication Using DTO with Spring SecurityDTO (Data Transfer Object): Create a DTO (e.g., UserRegistrationDto) to transfer user registration data to your controller. Here's an example: @Data @AllArgsConstructor @NoArgsConstructor @Builder public class CreateUserRequest { private String ...Discuss·48 readsSpring Data Jpa
Francesc Travesablog.cesc.cool·Sep 23, 2022DTOs, plants and being wrong with style.When I wrote my slogan, I just meant to be funny, but it turns out, it's also kind of true. Here's the slogan I put for Hashnode: "I hate to be wrong, so I read all the books. I still manage to be wrong. But with style". And this is a short post abou...Discuss·125 readsDDD
Antonello ZaniniforWritechwritech.hashnode.dev·Jun 28, 2020Avoiding Boilerplate Code With MapStruct, Spring Boot and KotlinBuilding Spring Boot Rest Web Services might become cumbersome, especially when domain model objects need to be converted in many DTOs (Data Transfer Object) and vice versa. Writing mapping manually is boring and involves boilerplate code. Is it poss...Discussdto