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

Garrett commented on IGNITE-11893:
----------------------------------

I added the following text to the "Types" section of the Platform 
Interoperability page:

===

*Enum* - In Ignite, Java `writeEnum` can only write ordinal values, but in .NET 
you can assign any number to the `enumValue`. So, note that any custom 
enum-to-primitive value bindings are not taken into account.

===

Thoughts?

> .NET enum platform compatibility 
> ---------------------------------
>
>                 Key: IGNITE-11893
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11893
>             Project: Ignite
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 2.7
>            Reporter: Alexandr Shapkin
>            Priority: Minor
>
> Let's make some warnings about platform compatibility.
> [https://apacheignite-net.readme.io/docs/platform-interoperability]
> We have a writeEnum/readEnum methods.
> In java writeEnum can write only ordinal value, but in .NET we can assign any 
> number to the enumValue. So any custom enum-to-primitive value binding would 
> not be taken into account.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to