sgjsakura / AspNetCore

ASP.NET Core Extension Library
Apache License 2.0
162 stars 26 forks source link

FlagsEnumModelBinderProvider does not work in .NET Core 2.1 #32

Closed bmforce closed 6 years ago

bmforce commented 6 years ago

.NET Core 2.1 has a new class EnumTypeModelBinderProvider. FlagsEnumModelBinderProvider must be inserted before it. Otherwise, the Enum types do not reach the GetBinder method.

sgjsakura commented 6 years ago

Thank you for your feedback and this problem is fixed in the version 1.3.8. I'm closing this issue and please feel free to reopen it if you have any new question.