Should you use Result as your return type?

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Hi there, today we are going to take a look at the Result return type.
    PS: Sorry about the sound, I forgot to switch to my recording mic.
    #csharp #dotnet

КОМЕНТАРІ • 1

  • @MiningForPies
    @MiningForPies Рік тому

    I use result types. They work really well with behaviour pipelines in mediator.
    My pipelines go
    Performance (removed in production) => Logging => unhandled exception handler => Authorization => caching => Handler
    I think that’s the right order, not got my laptop on me to double check
    Results all the way down make it work really nicely.