New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.6 BC break? #41
Comments
I wasn't applying tags until this version, sorry. Do you have an example of a non-struct TValue you could share? |
Hi Ardalis, 1.0.5 doesn't have the struct constraint on TValue. |
Right, that was a major PR introduced by @aalmada which had a big positive perf impact. What negative impact are you seeing from the constraint? What scenario is it limiting? Remember SmartEnum's primary goal is replacing the standard https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/enum
|
Thanks. I was using it with |
Ok, thanks. Of course if you stick with 1.0.5 you should be fine, too. Unless I hear that this is breaking a lot of other people, though, I think I'm fine to have SmartEnum expect a struct Value going forward. |
Hi, seems 1.0.6 NuGet version introduced an additional constraint on TValue to be of
struct
type, but I can't really find when and where this happened here in the repo. Also can't really find the previous versions tags. Am I missing something? :)The text was updated successfully, but these errors were encountered: