asami

quoll 2022-11-10T04:37:22.075339Z

Yes, and it was explicitly enabled so you can

🙏 2
simongray 2022-11-10T08:44:52.714349Z

Just fantastic, @quoll! Gonna switch my dumb UUIDs to vectors now.

quoll 2022-11-10T15:29:21.902769Z

You’ve probably done it by now, but you can see me using it in one of the tests: https://github.com/quoll/asami/blob/6b8c0fb68ba734f968a3e5906d338cfd6b49e2a6/test/asami/api_test.cljc#L510

quoll 2022-11-10T15:30:49.728419Z

Incidentally, you’ll see that queries can have those values inside the query, like on line 533: [:find ?aka :where [?e :db/ident [:maksim 45]] [?e :aka ?a] [?a :a/contains ?aka]]

quoll 2022-11-10T15:32:37.307389Z

Triples can always be inserted with structures in them, but generally you’d be doing that kind of thing with entities. For now, if an entity sees a structure then it decomposes it into triples. That’s what you usually want, but not always.

quoll 2022-11-10T15:33:55.244709Z

What I’ve opted for right now is that objects will be inserted as whole values if it’s a :db/ident or :id key. Otherwise, they will be deconstructed into triples

quoll 2022-11-10T15:34:37.500669Z

When I finally get some of these optional schemas going, then you’ll be able to instruct the transaction what you want to do with those properties on a property-by-property basis

simongray 2022-11-10T17:31:50.051879Z

Thank you. Yup, I already did it, no big deal. 🙂

quoll 2022-11-11T02:04:53.773519Z

“no big deal” is the best compliment a developer can get! Thank you 💖

❤️ 1