Tech
Why Package Structures Won't Save Your Spring Boot Architecture (And How Maven Enforces It) (Chapter 1)
How We Turned Architectural Guidelines Into Compilation Errors
Have you ever found yourself doing a Friday afternoon Code Review, only to discover that someone injected the EntityManager directly into a REST controller, writing raw SQL strings, and mapping rows manually with a loop? Or worse, have you seen a @RequestParam accepting org.springframework.data.domain.Pageable while the controller returns a raw Page<Entity> directly to the frontend?
Congratulations. You have just...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to