Originally posted by **singersbalm** March 19, 2024
Why can't I define a custom _id?. I tried to define a users collection with the email as _id to improve lookup performance.
```
func isValidObjectId(id string) bool {
_, err := uuid.FromString(id)
return err == nil
}
```
Clover only allows uuids, but why. what's the benefit? Shouldn't that check be optional?
Discussed in https://github.com/ostafen/clover/discussions/148