fix: update MaxDepth validation range to allow values between 1 and 100 - Bump Protobuf version to 0.0.159
Build and Deploy to Production / build-and-deploy (push) Successful in 3m8s
Build and Deploy to Production / build-and-deploy (push) Successful in 3m8s
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ public class GetNetworkTreeQueryValidator : AbstractValidator<GetNetworkTreeQuer
|
|||||||
.WithMessage("شناسه کاربر معتبر نیست");
|
.WithMessage("شناسه کاربر معتبر نیست");
|
||||||
|
|
||||||
RuleFor(x => x.MaxDepth)
|
RuleFor(x => x.MaxDepth)
|
||||||
.InclusiveBetween(1, 20)
|
.InclusiveBetween(1, 100)
|
||||||
.WithMessage("عمق درخت باید بین 1 تا 20 باشد");
|
.WithMessage("عمق درخت باید بین 1 تا 100 باشد");
|
||||||
}
|
}
|
||||||
|
|
||||||
public Func<object, string, Task<IEnumerable<string>>> ValidateValue => async (model, propertyName) =>
|
public Func<object, string, Task<IEnumerable<string>>> ValidateValue => async (model, propertyName) =>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>0.0.158</Version>
|
<Version>0.0.159</Version>
|
||||||
<DebugType>None</DebugType>
|
<DebugType>None</DebugType>
|
||||||
<DebugSymbols>False</DebugSymbols>
|
<DebugSymbols>False</DebugSymbols>
|
||||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||||
|
|||||||
Reference in New Issue
Block a user