This commit is contained in:
@@ -2864,7 +2864,8 @@ namespace Svrnty.CQRS.Grpc.Generators
|
||||
sb.AppendLine(" {");
|
||||
sb.AppendLine(" Path = protoFilter.Path,");
|
||||
sb.AppendLine(" Type = ((PoweredSoft.DynamicQuery.Core.FilterType)protoFilter.Type).ToString(),");
|
||||
sb.AppendLine(" Value = protoFilter.Value");
|
||||
sb.AppendLine(" Value = protoFilter.Value,");
|
||||
sb.AppendLine(" And = true");
|
||||
sb.AppendLine(" };");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine(" // Handle nested AND filters");
|
||||
@@ -2894,7 +2895,8 @@ namespace Svrnty.CQRS.Grpc.Generators
|
||||
sb.AppendLine(" {");
|
||||
sb.AppendLine(" Path = pf.Path,");
|
||||
sb.AppendLine(" Type = ((PoweredSoft.DynamicQuery.Core.FilterType)pf.Type).ToString(),");
|
||||
sb.AppendLine(" Value = pf.Value");
|
||||
sb.AppendLine(" Value = pf.Value,");
|
||||
sb.AppendLine(" And = true");
|
||||
sb.AppendLine(" };");
|
||||
sb.AppendLine(" if (pf.And != null && pf.And.Count > 0)");
|
||||
sb.AppendLine(" {");
|
||||
|
||||
Reference in New Issue
Block a user