Add UUID generation to Atlas Functions
Atlas Functions have a utils.crypto
library that offers some basic cryptography functions. One of those should be the modern crypto.randomUUID()
that is now standard in ECMAScript. Currently, Atlas Functions cannot generate a UUID without resorting to third-party dependencies. I prefer using full UUIDs over Mongo's proprietary ObjectID.
2
votes
Bryan Jones
shared this idea