greyblake/nutype

Add support to UUID

Closed this issue · 3 comments

UUID fields are often used in data/DB design.

If you need UUID, you should use uuid crate and proper uuid::Uuid type instead of trying to fake uuid with

struct Uuid(String)

or something similar.

If I misunderstood your request please reopen and elaborate more on it.

Ok, Nutype can't offer benefits over struct MyUuid(Uuid) ?

@ronanM Could you please give some examples of what kind of benefits would you expect?