Mariusz Stępień

Results 14 comments of Mariusz Stępień

Why would it work any differently than on a normal controller? Using the sample, for example: ```cs using Ardalis.ApiEndpoints; using Microsoft.AspNetCore.Mvc; namespace SampleEndpointApp.Endpoints.Authors; public class File : EndpointBaseAsync .WithRequest .WithResult...

I saw the docs. However, after opening two test suites - one XUnit-based and the other one NUnit-based I was looking for something similar to https://andrewlock.net/creating-strongly-typed-xunit-theory-test-data-with-theorydata/ but could not find...

Oh yes, this is what I wanted. I can see it work for me with some records: ```cs private static readonly IEnumerable NUnitNameSpaces = new IsNUnitData[] { new IsNUnitData(1001, ".NUnit"),...

> As #279 says, you sh*uldn't be injecting services into your cla**** constructors, minimal API does not work like that. They sh*uld be in the RequestDelegate > > ```cs >...

> @mariusz96 can you test the latest Carter version, it has an analyzer that warns if you have constructor dependencies 😄 If you mean #349 then I think it's a...

> Is it a Windows machine? There’s an open issue for this unfortunately Yes, it is and the exception is the same as in the other issue. For what it's...

Oh yes, you're right. On the class itself and other methods it works just fine. And if I copy the method into my own code then the XML comment also...

~~Oh, but with new interfaces this could work perhaps?~~ ```diff + public interface ICancellebaleAsyncMiddleware + { + Task Run(TParameter parameter, Func next, CancellationToken cancellationToken); + } ``` ```diff public interface...

```diff + namespace PipelineNet.ChainOfResponsibilityFactories + public interface IAsyncResponsibilityChainFactory + { +     IAsyncResponsibilityChain Create(); + } + public interface IResponsibilityChainFactory + { +     IResponsibilityChain Create(); + } ``` ```diff + namespace...

> Thanks for the contribution! > > I think we could simplify it a bit by avoiding the factory pattern. The idea was that the pipeline would be configured in...