Bug: Timespan and DateTime do not maintain their values when serialised / deserialised #138
Closed
2 tasks done
Labels
bug
Something isn't working
Describe the bug
While testing some of my own serialisation I found issues with the round trip serialisation of DateTime and Timespan.
I've included my xUnit/FSCheck property tests for reference.
I have fixes for the issues (included below) and I was going to add the tests and fixes as a pull request but I don't seem to be able to build the project locally (
libsurreal_memory.dylib
is missing fromSurrealDb.Embedded.InMemory
Steps to reproduce
The following xUnit/FSCheck tests will fail.
Expected behaviour
The values should round trip correctly.
The following implementations resolve the issue.
SurrealDB version
v2.0.4
Package version(s)
0.6.0
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: