dotnetcore / SmartSql

SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
https://smartsql.net/
Apache License 2.0
1.1k stars 222 forks source link

fix:修复当返回类型为枚举集合时无法获取到`TypeHandler` #241

Closed xiangxiren closed 10 months ago

xiangxiren commented 10 months ago

当参数为枚举类型或者参数对象中包含枚举类型的属性时,会自动注册此枚举类型的TypeHandler。 但是如果枚举类型仅作为返回结果集类型时,却没有为其注册TypeHandler。