Add Products Protobuf project and update references
This commit is contained in:
@@ -22,4 +22,13 @@
|
||||
<ItemGroup>
|
||||
<Protobuf Include="Protos\products.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PushToFoursatNuget" AfterTargets="Pack">
|
||||
<PropertyGroup>
|
||||
<NugetPackagePath>$(PackageOutputPath)$(PackageId).$(Version).nupkg</NugetPackagePath>
|
||||
<PushCommand>dotnet nuget push **/*.nupkg --source https://git.afrino.co/api/packages/FourSat/nuget/index.json --api-key 061a5cb15517c6da39c16cfce8556c55ae104d0d --skip-duplicate && del "$(NugetPackagePath)"</PushCommand>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="$(PushCommand)" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using FluentValidation;
|
||||
using FrontOfficeMicroservice.Protobuf.Protos.Products;
|
||||
using FrontOffice.BFF.Products.Protobuf.Protos.Products;
|
||||
namespace FrontOfficeMicroservice.Protobuf.Validator.Products;
|
||||
|
||||
public class GetAllProductsByFilterFilterValidator : AbstractValidator<GetAllProductsByFilterFilter>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using FluentValidation;
|
||||
using FrontOfficeMicroservice.Protobuf.Protos.Products;
|
||||
using FrontOffice.BFF.Products.Protobuf.Protos.Products;
|
||||
namespace FrontOfficeMicroservice.Protobuf.Validator.Products;
|
||||
|
||||
public class GetAllProductsByFilterRequestValidator : AbstractValidator<GetAllProductsByFilterRequest>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using FluentValidation;
|
||||
using FrontOfficeMicroservice.Protobuf.Protos.Products;
|
||||
using FrontOffice.BFF.Products.Protobuf.Protos.Products;
|
||||
namespace FrontOfficeMicroservice.Protobuf.Validator.Products;
|
||||
|
||||
public class GetProductsRequestValidator : AbstractValidator<GetProductsRequest>
|
||||
|
||||
Reference in New Issue
Block a user