top | item 39272804

(no title)

tsarchitect | 2 years ago

why not both? Have the table column autogenerate UUID if insert does not have one or else insert if it does. This provides an added flexibility for scenarios mentioned in the comments.

discuss

order

nivertech|2 years ago

I do this (i.e. if UUID wasn't supplied in the API call - the backend will generate it), but for me it's only useful for debuging or manual API testing.

Reason: I'm not a machine, so I dislike generating UUIDs by myself ;)