Open marcrib opened 6 years ago
Says whom?
One of the goals of Feature orientation is to reduce needless layers of abstraction. Validation for web and db occurs via MediatR pipelining
@adamhathcock hi, there may be circular properties and also properties that I do not want to return. Using JsonIgnore seems to mess up the application domain
If you need to make a DTO then do it. Only do what you need to. Be agile. Don’t make layers for no reason.
Using a serialization attribute doesn’t mess up a domain.
@adamhathcock How to leverage DTO-approach with MediatR, AutoMapper and FluentValidation? Could you kindly provide a sample or point into appropriate direction?
Why Envelope return Domain object?
Is bad practices