kubo.motyl
08/09/2018, 1:23 PMnilan
08/09/2018, 1:26 PMkubo.motyl
08/09/2018, 1:32 PMnilan
08/09/2018, 1:33 PMcuid - https://github.com/ericelliott/cuid. You can do the same 🙂kubo.motyl
08/09/2018, 1:37 PMkubo.motyl
08/09/2018, 3:12 PMJenkins
08/10/2018, 7:46 AMscalar UUID
type User {
id: UUID!
...
}
If you inspect the schema in playground afterwards you'll see that it contains this:
"""
A type 4 UUID according to IETF RFC 4122.
"""
scalar UUIDkubo.motyl
08/13/2018, 12:36 PMCustomerToOrder will have 3 columns - A (Customer) will have the UUID! type if it's specified in schema like @Jenkins wrote, same with B (Order), but the 3rd column which is id will have a type of varchar and implicitly use the cuid IDs @nilan mentioned before - this is the column we would love to use UUID values as wellJenkins
08/13/2018, 12:58 PMnilan
08/13/2018, 1:00 PM