[jira] [Created] (IGNITE-12824) Change .NET API to write Dates in interoperable format by default

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

[jira] [Created] (IGNITE-12824) Change .NET API to write Dates in interoperable format by default

Anton Vinogradov (Jira)
Alexey Kukushkin created IGNITE-12824:
-----------------------------------------

             Summary: Change .NET API to write Dates in interoperable format by default
                 Key: IGNITE-12824
                 URL: https://issues.apache.org/jira/browse/IGNITE-12824
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
    Affects Versions: 2.8
            Reporter: Alexey Kukushkin
            Assignee: Alexey Kukushkin


Presently BinaryReflectiveSerializer serialises .NET dates Ignite objects by default. This could be changed by either setting BinaryReflectiveSerializer.ForceTimestamp property to "true" or adding "QuerySqlField" attribute to Date fields. I have multiple Ignite/GridGain users using this functionality and all of them are confused with this default behavior. Let's see if we can change the default behavior to save .NET dates in interoperable Ignite TIMESTAMP format, converting them to UTC dates inside BinaryReflectiveSerializer so that the users do not have to do the ToUniversalDate conversion manually.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)