Open
Description
Bug Report
Q | A |
---|---|
BC Break | no |
Version | 2.0.3 |
Summary
Given an identifier using strategy="uuid"
and type="bin_uuid"
or type="bin_uuid_rfc4122"
, an error occurs when trying to store data:
MongoDB\Driver\Exception\InvalidArgumentException : Expected UUID length to be 16 bytes, 32 given
Expected behavior
The UUID generator should be able to generate UUIDs for consumption with the binary BSON types for UUIDs.