EventStore.UI icon indicating copy to clipboard operation
EventStore.UI copied to clipboard

When adding an event via the UI, the EventId is not a GUID

Open timothycoleman opened this issue 4 years ago • 1 comments

sample event ids:

83517086-7086-7086-7086-160683517086
83517842-7842-7842-7842-160683517842

The generation appears to be determined by the number of milliseconds since unix epoch or something like that.

Probably two events trying to be created through the UI with the same number of milliseconds is unlikely, and probably the fact that it isn't technically a guid isn't of practical importance. Still there is some 'thats weird' factor :)

timothycoleman avatar Dec 02 '20 13:12 timothycoleman

We could add the uuid package https://www.npmjs.com/package/uuid and use it; it's able to generate proper Guids (v4 generation). This package is used in our gRPC NodeJS client. "In theory", it should be just adding the package and replacing the generation.

oskardudycz avatar May 11 '22 08:05 oskardudycz