circles-arrows / blueprint41

An Object Graph Mapper for CSharp to connect to Neo4j or Memgraph.
http://www.blueprint41.com/
MIT License
31 stars 8 forks source link

Review datastore backing types #33

Open circles-arrows opened 9 months ago

circles-arrows commented 9 months ago

Some issues emerged due to backward compatibility with earlier Neo4j version.

Issue: The dotnet "decimal" type is currently stored as a fixed-point "long" in Neo4j. Solution: Add a feature to switch the behavior so decimals can optionally get stored as floating point numbers

Issue: The dotnet "DateTime" type is currently stored as a epoch "long" in Neo4j. Solution: Add a feature to switch the behavior so DateTime can optionally get stored as "Neo4j DateTime" numbers

Issue: The dotnet "TimeSpan" type is currently unsupported. Issue: The dotnet "Point" type is currently unsupported.

Issue: How could we change the default (for DateTime for example) without causing trouble for existing databases?