You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/05 08:06:21 UTC

[jira] [Commented] (IGNITE-1964) .NET: Write enum type ID if possible.

    [ https://issues.apache.org/jira/browse/IGNITE-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409106#comment-15409106 ] 

ASF GitHub Bot commented on IGNITE-1964:
----------------------------------------

Github user ptupitsyn closed the pull request at:

    https://github.com/apache/ignite/pull/253


> .NET: Write enum type ID if possible.
> -------------------------------------
>
>                 Key: IGNITE-1964
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1964
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: platforms
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.5.0.final
>
>
> Currently we always write -1 as enum type ID in .NET. We made this for two reasons:
> 1) .NET has fair generics and always has necessary type info to perform deserialization.
> 2) We do not have dynamic portable type register as in Java yet.
> However, this approach make it impossible to interoperate with Java when context cannot be inferred. E.g. in queries. 
> Full solution:
> 1) Implement dynamic types register.
> 2) Always pass Enum type ID.
> Solution require in scope of this ticket due to tight release schedule:
> 1) Pass enum type ID when possible, i.e. when enum is restered as portable type explicitly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)