berrybeat / Neo4j.Berries.OGM

This repository adds an OGM functionality for csharp
https://berrybeat.com/
MIT License
23 stars 2 forks source link

Nodes with DateTime cannot be deserialized #9

Closed farhadnowzari closed 6 months ago

farhadnowzari commented 6 months ago

Describe the bug It is possible to save a node with DateTime data type in it as properties but on reading the same node from neo4j, it throws an exception that it cannot deserialize the DateTime.

To Reproduce Just create a node which has a DateTime property in it. Then try to query that node. It will throw an exception.

Expected behavior No exception should be thrown and the datetime value must be deserialized correctly.