You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/11/23 10:09:11 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov closed IGNITE-1964.
-----------------------------------

> .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: interop
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.5
>
>
> 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)