MongoDB doesn't support binary data in the aggregation framework. Since we're marshalling UUIDs to binary data, this is a big hindrance. The extra memory footprint incurred by String storage is worth it to enable aggregations.
It might be worth investigating if MongoDB has a more appropriate data type for UUIDs, such as ObjectId.
Will break marshalled form of existing code, so we definitely need a deprecated interim workaround.
MongoDB doesn't support binary data in the aggregation framework. Since we're marshalling UUIDs to binary data, this is a big hindrance. The extra memory footprint incurred by String storage is worth it to enable aggregations.
It might be worth investigating if MongoDB has a more appropriate data type for UUIDs, such as ObjectId.
Will break marshalled form of existing code, so we definitely need a deprecated interim workaround.