This is an automated email from the ASF dual-hosted git repository. ptupitsyn pushed a commit to branch ignite-27278 in repository https://gitbox.apache.org/repos/asf/ignite-3.git
commit 46a1a3473f603a04574d6304831ef4957067fe91 Author: Pavel Tupitsyn <[email protected]> AuthorDate: Wed Dec 24 12:07:41 2025 +0200 wip BasicMappers --- .../platforms/dotnet/Apache.Ignite/Internal/Table/PartitionManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/platforms/dotnet/Apache.Ignite/Internal/Table/PartitionManager.cs b/modules/platforms/dotnet/Apache.Ignite/Internal/Table/PartitionManager.cs index df91b5c5156..479736e04b6 100644 --- a/modules/platforms/dotnet/Apache.Ignite/Internal/Table/PartitionManager.cs +++ b/modules/platforms/dotnet/Apache.Ignite/Internal/Table/PartitionManager.cs @@ -100,7 +100,9 @@ internal sealed class PartitionManager : IPartitionManager [RequiresUnreferencedCode(ReflectionUtils.TrimWarning)] public ValueTask<IPartition> GetPartitionAsync<TK>(TK key) where TK : notnull => - GetPartitionInternalAsync(key, _table.GetRecordViewInternal<TK>().RecordSerializer.Handler); + BasicMappers.TryGet<TK>() is { } mapper + ? GetPartitionInternalAsync(key, new MapperSerializerHandler<TK>(mapper)) + : GetPartitionInternalAsync(key, _table.GetRecordViewInternal<TK>().RecordSerializer.Handler); /// <inheritdoc/> public ValueTask<IPartition> GetPartitionAsync<TK>(TK key, IMapper<TK> mapper)
