How to change the type of _id in NEventStore.Persistence.MongoDB?

109 Views Asked by At

By default, NEventStore.Persistence.MongoDB are using Int64 as _id's default type, but Int64 has a maxmium value, what if _id exceed that maxmium value? (I know it's hard to reach, but it will).

Can I change _id to Guid by using NEventStore?

0

There are 0 best solutions below