Strange UUID Bson serialization behavior #2161
Closed
Comments
tchaloupka
added a commit
to tchaloupka/dpq2
that referenced
this issue
May 11, 2018
Found some strange behavior with vibe-d bson serialization while testing this. UUID[] can't be deserialized from Bson as is read from the PG. So I changed the read value to be deserializable and created an issue here: vibe-d/vibe.d#2161
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This test fails:
on
assert(bson.deserializeBson!UUID == uuid);
with:Because UUID is handled as object in bson serialization for some reason.
Is it supposedly correct behavior or bug?
The text was updated successfully, but these errors were encountered: