Fork me on GitHub
#datomic
<
2017-12-18
>
luchini01:12:51

@sova any reason why you wouldn’t have the relationship blurb -> tag be of cardinality many?… as in 1 blurb -> n tags -> 1 author

daveliepmann10:12:29

@sova A lot depends on what you'll use the tags for. If they're just for discoverability I'm not sure they need authors or an identity of their own. I agree with luchini that by default I'd make tags a cardinality/many string attribute of the blurb.

daveliepmann10:12:54

The "intermediate states" issue, if I understand it correctly, sounds solvable by putting the blurb and tags into a single transact statement using tempids to define the cross-references between yet-to-be-created entities. (If tags become instead merely a string attribute of blurbs, this becomes unnecessary.)