[jira] [Created] (IGNITE-1645) .Net: Throw exception on null flag in PortableReader when reading non-nullable value types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1645) .Net: Throw exception on null flag in PortableReader when reading non-nullable value types

Anton Vinogradov (Jira)
Pavel  Tupitsyn created IGNITE-1645:
---------------------------------------

             Summary: .Net: Throw exception on null flag in PortableReader when reading non-nullable value types
                 Key: IGNITE-1645
                 URL: https://issues.apache.org/jira/browse/IGNITE-1645
             Project: Ignite
          Issue Type: Task
          Components: interop
    Affects Versions: 1.5
            Reporter: Pavel  Tupitsyn
            Assignee: Pavel  Tupitsyn
             Fix For: 1.5


Currently we always return default(T) when deserializing null value. So for value types there is no way  for the user to discern a missing cache key from a cache key with default value.

* throw exceptions when there is Null in stream and we are trying to read a value type
* update Cache API with Try* methods



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