Steve Smith

Results 269 comments of Steve Smith
trafficstars

Let me know if you figure this out or need me to update anything with additional attributes to support Swagger.

Do we need something like this? https://github.com/ardalis/ApiEndpoints/blob/master/sample/SampleEndpointApp/AuthorEndpoints/Create.cs#L23-L28

I've been remiss in providing much leadership on this because I don't use this feature (flags enums) very often. When I do, with the standard enum feature, I've been fine...

Can you show the code that isn't working? The `TryFromValue`? I'm not seeing the problem, yet.

What would be required to do that?

You mean something like how `.AddMediatR` takes in a list of assemblies for resolving Handlers? I could see that. Would need to configure it in a platform-neutral fashion, but then...

Other converters had the constraint to be structs until very recently; I think it would probably be fine to remove the constraint here as well. At least, I'm not aware...

Yours if you want to claim it @eldamir Thanks!

Ok I'll try add add strong naming to an upcoming version. I haven't done much with this in the past so I need to figure it out.

I've done some research into this and looked at what other popular NuGet packages have done, and it looks like having you use StrongNamer (or similar tools) would be better...