DotNet4Neo4j / Neo4jClient

.NET client binding for Neo4j
https://www.nuget.org/packages/Neo4jClient
Microsoft Public License
431 stars 146 forks source link

Support Neo4j Native datetime Types for Serialization Through Client Setting #449

Closed arturosevilla closed 1 year ago

arturosevilla commented 2 years ago

I've noticed that the desire to use native datetime instances is growing specially with issue #332 that, although Neo4jDateTimeAttribute exists it does not support a comparison with a parameter that is not added through .WithParam(). Therefore I took suggestion there to create a "global" (client instance) setting that switches such behavior.

In fact, my PR #275 wished to address this as well (I will continue with this PR as I intend to have a direct serializer instead of still going through creating an intermediate JSON representation).

cskardon commented 1 year ago

Thank you for this @arturosevilla - Sorry it took so long to get into the client.

I agree a direct Bolt serializer would be preferable, and I know about the old PR, and I'm sorry it hasn't got in yet.