You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uuidRepresentation option was added in 3.12.0. This allows changing the UUID codec implementation -- particularly it allows a client to use a standard UUID codec instead of the legacy Java codec which may be incompatible with other drivers.
The uuidRepresentation option takes a UuidRepresentation enum, which is annoying (but trivial) to deal with. It would be nice if we could pass a string or preferably a keyword instead.
As a workaround, I am using the following wrapper. I was too lazy to support a keyword.
uuidRepresentation
option was added in 3.12.0. This allows changing the UUID codec implementation -- particularly it allows a client to use a standard UUID codec instead of the legacy Java codec which may be incompatible with other drivers.https://github.com/mongodb/mongo-java-driver/blob/r3.12.0/driver-legacy/src/main/com/mongodb/MongoClientOptions.java#L1457-L1470
The
uuidRepresentation
option takes aUuidRepresentation
enum, which is annoying (but trivial) to deal with. It would be nice if we could pass a string or preferably a keyword instead.As a workaround, I am using the following wrapper. I was too lazy to support a keyword.
The text was updated successfully, but these errors were encountered: