Closed jaraco closed 6 years ago
I figured out that the UUIDs are in fact loading as proper UUIDs when queried, but it's PyMongo that's converting them to {'$uuid': <hex digits>}
.
Turns out that the issue was on the outgoing encoding and by providing the appropriate CodecOptions on the destination database object, the tests now pass.
After introducing MongoDB 3.6 to the tests, the tests are failing.
The most basic failure is in the .js test suite, where the UUID loaded from the database doesn't apply.