feat: Update protobuf namespaces and package versions

This commit is contained in:
masoodafar-web
2025-12-06 14:25:02 +03:30
parent 09fc0d85af
commit 2ef27663a0
31 changed files with 218 additions and 80 deletions

View File

@@ -49,21 +49,20 @@ public class ProductsService : ProductsContract.ProductsContractBase
return await _dispatchRequestToCQRS.Handle<GetAllProductsByFilterRequest, GetAllProductsByFilterQuery, GetAllProductsByFilterResponse>(request, context);
}
// TODO: These methods require proto types that don't exist yet (AddProductImageRequest, GetProductGalleryRequest, RemoveProductImageRequest)
// public override async Task<AddProductImageResponse> AddProductImage(AddProductImageRequest request, ServerCallContext context)
// {
// return await _dispatchRequestToCQRS.Handle<AddProductImageRequest, AddProductImageCommand, AddProductImageResponse>(request, context);
// }
//
// public override async Task<GetProductGalleryResponse> GetProductGallery(GetProductGalleryRequest request, ServerCallContext context)
// {
// return await _dispatchRequestToCQRS.Handle<GetProductGalleryRequest, GetProductGalleryQuery, GetProductGalleryResponse>(request, context);
// }
//
// public override async Task<Empty> RemoveProductImage(RemoveProductImageRequest request, ServerCallContext context)
// {
// return await _dispatchRequestToCQRS.Handle<RemoveProductImageRequest, RemoveProductImageCommand>(request, context);
// }
public override async Task<AddProductImageResponse> AddProductImage(AddProductImageRequest request, ServerCallContext context)
{
return await _dispatchRequestToCQRS.Handle<AddProductImageRequest, AddProductImageCommand, AddProductImageResponse>(request, context);
}
public override async Task<GetProductGalleryResponse> GetProductGallery(GetProductGalleryRequest request, ServerCallContext context)
{
return await _dispatchRequestToCQRS.Handle<GetProductGalleryRequest, GetProductGalleryQuery, GetProductGalleryResponse>(request, context);
}
public override async Task<Empty> RemoveProductImage(RemoveProductImageRequest request, ServerCallContext context)
{
return await _dispatchRequestToCQRS.Handle<RemoveProductImageRequest, RemoveProductImageCommand>(request, context);
}
public override async Task<GetCategoriesResponse> GetCategories(GetCategoriesRequest request, ServerCallContext context)
{