dotnetcore / FreeSql

🦄 .NET aot orm, C# orm, VB.NET orm, Mysql orm, Postgresql orm, SqlServer orm, Oracle orm, Sqlite orm, Firebird orm, 达梦 orm, 人大金仓 orm, 神通 orm, 翰高 orm, 南大通用 orm, 虚谷 orm, 国产 orm, Clickhouse orm, DuckDB orm, TDengine orm, QuestDB orm, MsAccess orm.
https://freesql.net
MIT License
4.13k stars 860 forks source link

FreeSql.Extensions.JsonMap 预览版where true 死循环 #1875

Closed luoyunchong closed 3 months ago

luoyunchong commented 3 months ago

https://github.com/dotnetcore/FreeSql/blame/8ab5372a09499885cc1774099f9e9bcb15d5b931/Extensions/FreeSql.Extensions.JsonMap/JsonMapCore.cs#L130

最新预览 版有一个死循环,where(true) 的情况 下使用 switch case ,如果case 条件 不满足,while永远无法结束

安装的Nuget包

2881099 commented 3 months ago

好的,缺一个 defualt return