chaindexing-rs
chaindexing-rs copied to clipboard
Deserialization of timestamp fields fails
Action: Investigate tokio-postgres.
Analysis: Timestamp fields should be encoded as serde::Value::String("\"<value>\"") -- the inner extra quotes are essential for serde to reach an agreement with chrono when deserializing. However, it seems tokio-postgres somehow gets rid of those extra quotes when converting a Row to its equivalent serde::Value.