Tag: DTO
Why you should use a DTO to send to your API instead of the class itself
IWhen I first started putting together the API for my dnd app, I was just using whatever model I had on the backend as the expected argument from the body. This worked fine for basic stuff, but eventually I ran into a problem. Take a look at my location class: In it, I say that… Read more