[
https://issues.apache.org/jira/browse/IGNITE-13958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263151#comment-17263151
]
Nikolay Izhikov commented on IGNITE-13958:
------------------------------------------
Hello, [~ptupitsyn]
Thanks for the feedback.
> 1. Do we still need RegisterSameJavaType flag? Can we just register Java
> types at all times?
Yes, we can!
But we should do it only when {{BinaryBasicNameMapper#FullNameInstance}} is
used.
So we know type FQN on both sides.
> 1. Remove Marhsaller.RegisterSameJavaType
Will try it.
> 2. Add a flag to BinaryConfiguration to enable this behavior for all use
> cases, false by default.
I think an additional flag is not required.
We should rely on the IBinaryNameMapper being used.
> .NET: Avoid binary configuration on Compute and Cache API invocation
> --------------------------------------------------------------------
>
> Key: IGNITE-13958
> URL: https://issues.apache.org/jira/browse/IGNITE-13958
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Affects Versions: 2.9.1
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
> Labels: .NET
> Fix For: 2.10
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, it's required to explicitly register any custom user type as a
> binary type to be able to invoke some compute API method with this type as a
> parameter or return value.
> We should use the same technique as in IGNITE-10075 to avoid explicit binary
> type registration.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)