Cydo
Explore posts from servers✅ When and when not to use a DTO?
Perfect, so then this is fine. This is just a simple get request, that pulls data back i want to display all neatly on cards i show on my client, and nothing deeper in the app is affected 😄
So in my case where im using CQRS i can directly make the
Response
which is my DTO just be returned directly.4 replies
✅ Vertical Slice Architecture and Shared Code?
I thought about doing that, but i kind of like the way my api project is setup now, ik where everything is and why it is where it is, and i dont feel bogged done by having to make, a repository, its interface, then a service and its interface, and so on and so on.
81 replies
✅ Vertical Slice Architecture and Shared Code?
Ooo this is way more then anything my functions do lol, but I intend to eventually get to testing and have to do things like this. Currently most of my methods are just in the same handler file extracted into small private methods that are responsible for doing a single thing.
81 replies
✅ Vertical Slice Architecture and Shared Code?
Awesome, i dont have any testing in my project yet but i took everything you guys told me and kind of spun it into my own thing. I wanna see if i can take the duplicated methods and turn them into extensions when I get some time today.
https://github.com/CydoEntis/task-garden-api
81 replies