Thank you, legacy code author, very helpful
Wouldn't want to get the Dtos and the Models confused (they're nearly identical)
Not to be confused with the Models project we have, which is also nearly identical to the Entities project
@Aaronontheweb Vertical Slices is the answer
@anton_fimin Yeah I'm going to migrate towards something that looks more like that
@Aaronontheweb Ok, I get the hate against over-engineering but where exactly is the problem here? I can see nicely structured project.
@MickF5 It's junk-drawer organization - if I want to fix or change a feature, say something related to the product catalog, it's not at all clear where that "lives" in this design.
@Aaronontheweb Could have made just one folder named "Code" smdh
@JamesSampica this made me actually laugh out loud
@Aaronontheweb What are DTOs used for? Or entities, or models? It depends on the project.
@ExtinguishedEng this
@Aaronontheweb One file per type as well?
@Aaronontheweb Helpers ðŸ«
@quicktricks_dev That's actually the most offensive one IMHO
@Aaronontheweb here is that problem with feature-oriented design, framework things you need are cross feature and hard to share leading to even worse structure
@CordasFilip I'm totally fine with having middleware packages (i.e. we use them appropriately for telemetry, configuration, and authorization) - but the content of these folders is a blend of infrastructure and domain concerns
@Aaronontheweb At least you know where to look at when you search for... abstractions. At least there's tiny hint - that app is doing something with emails, doesn't it? 🥲
@wdolek > app is doing something with emails Probably the most useful part of the description, yes
@Aaronontheweb where are the interface and implementation folders?
@p2884_ they actually did exist, along with mocks folders (in other projects,) but I deleted them
@Aaronontheweb Says nothing about the domain…
@Aaronontheweb normalize grouping by usage instead of type. imagine putting bleach, coffee, motor oil, juice in one Liquid place. instead of separate it in kitchen, garage, bathroom
@Aaronontheweb Why are Dto Mapping and Middleware not pluralized? It suggests a single file in the folder. /ocd




