mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-20 14:40:37 +00:00
try: restore derive(Serialize) like newtype for Id
it should not make any difference, but this is how I got the proposergreeting to deserialize.
This commit is contained in:
@@ -32,7 +32,7 @@ impl Serialize for Id {
|
||||
if serializer.is_human_readable() {
|
||||
serializer.collect_str(self)
|
||||
} else {
|
||||
self.0.serialize(serializer)
|
||||
serializer.serialize_newtype_struct("Id", &self.0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user