[#34] Client: Add rules deserialization

Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
Pavel Gross 2025-02-27 17:35:19 +03:00
parent bd8eb7cc60
commit 8835b23ed3
18 changed files with 426 additions and 52 deletions

View file

@ -5,8 +5,6 @@ using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Frostfs.V2.Ape;
using FrostFS.Refs;
using FrostFS.SDK.Client.Interfaces;
using FrostFS.SDK.Client.Mappers.GRPC;
@ -550,7 +548,7 @@ public partial class Pool : IFrostFSClient
await client.Client!.RemoveChainAsync(args, ctx).ConfigureAwait(false);
}
public async Task<Chain[]> ListChainAsync(PrmApeChainList args, CallContext ctx)
public async Task<FrostFsChain[]> ListChainAsync(PrmApeChainList args, CallContext ctx)
{
var client = Connection();
return await client.Client!.ListChainAsync(args, ctx).ConfigureAwait(false);