defprogramming.com
defprogramming.com copied to clipboard
UUIDs in quotes.json
Hey @daviferreira 👋
I was considering contributing to this great project, but was curious, what are you using to generate the UUIDs for the uuid field here? Cross-referencing some of the other fields seems straight-forward enough (for authors and tags). Just curious for how to ideally approach this for additions to quotes.json.
"body": "Code smells.",
"uuid": "ff76ac536cff",
"publish_date": "2011-07-04 16:43:52",
"authors": ["Martin Fowler"],
"authors_uuid": ["721333935c91"],
"tags_uuid": ["2806ae712337", "21d9e61717db", "bd67f2b3cd5c"],
"tags": ["refactoring", "debugging", "bugs"]
},
Thanks in advance!