Adam Hathcock

Results 331 comments of Adam Hathcock

happy to let anyone give this a shot. Beyond just updating the dependencies, I'd want to see Minimal API attempted to be used.

Please submit a PR. I actually thought I was using Newtonsoft but my memory is fading. System.Text.Json isn't very usable until .NET 5.0 or later

Should be fixed. No longer using Newtonsoft at all. https://github.com/gothinkster/aspnetcore-realworld-example-app/pull/86

Browsers do preflight checks but it wasn't part of the API spec (or I didn't see it when I originally did the work). PRs welcome.

I put tiny classes into one file because it's easier to see them. They're related commands and often dev with them together. Usually, I do put classes in their own...

See my previous answer. I was following a pattern for grouping small classes. May not be always the best decision.

Pull requests are welcome to fix possible issues. Without looking at the code, you might be right about duplicattion. However, a little duplication can be better than added complexity to...

Cross cutting concerns can be put in MediatR pipelines if there are any. Things are organized vertically to illustrate how functionality is usually simple before “concerns” are added in. I’ll...

You want to test invoking a Controller? I'm not sure what you mean. One of the reasons to have a Controller that only calls MediatR and nothing else is to...

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