reacher
reacher
CC#
Created by LifeOfVio on 9/24/2024 in #help
✅ OpenApi generation
Genius!
39 replies
CC#
Created by LifeOfVio on 9/24/2024 in #help
✅ OpenApi generation
Everything is templated
39 replies
CC#
Created by LifeOfVio on 9/24/2024 in #help
✅ OpenApi generation
You can edit the client templates to eliminate newtonsoft
39 replies
CC#
Created by LifeOfVio on 9/24/2024 in #help
✅ OpenApi generation
Hmm I'm not sure because I never generated C# models, only TS
39 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
I haven't looked into it myself since I don't use result types in C#
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
Well one person I discussed it with found that dynamic was the cleanest solution they could find 😂 So yeah
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
Since the language and DI doesn't really let you do that in a very elegant way
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
And from what I've seen from people trying to pull out the result types, it's pretty yucky
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
I think open generics is pretty old, but constrained open generics are newer, at least in MSDI. But like mayor said, I ran into some issues with it in .NET 6 I think? Where some stuff was either registered or pulled out multiple times, causing multiple notifications for the same thing. I'm not sure if the problem was MSDI or MediatR, but I didn't see anything in MediatR that should have caused it so I suspect a bug in MSDI
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
Ahh yeah I see now, I figured I was missing something
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
I'm not sure what you mean would be given attention now from a MediatR version from many years ago?
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
Looks like you're just having problems getting the generic type?
41 replies
CC#
Created by msr on 12/12/2023 in #help
MediatR IPipelineBehavior for reacting to large set of requests (+ Result return type)
It sounds to me like you're not dealing with constrained open generics at all? I don't see any constraints
41 replies