asami

nivekuil 2023-09-27T03:09:17.789419Z

how hard would it be for asami to support binding to qualified symbols? I'm writing a library that generates asami queries and it would be useful to be able to run queries like

(d/q '[:find ?_ ?user/foo
       :where
       [?_ :user/id 1]
       [?_ :user/foo ?user/foo]]
     conn)
for now I can call name but there's the possibility of collisions

quoll 2023-09-27T12:41:28.707979Z

OK, I will try to see why. I probably just use name on it somewhere, and will just need to be more careful

quoll 2023-09-27T12:58:58.176689Z

Hmmm, I found 2 small issues. One with aggregates, and the other with schema checking. Not your problem though. Aha. Found it. Easy fix.

quoll 2023-09-27T12:59:32.016469Z

I’m lying in bed with Covid right now, but should be able to get to it today.

quoll 2023-09-27T13:02:50.380689Z

https://github.com/quoll/asami/issues/16

nivekuil 2023-09-27T17:51:04.904239Z

thanks for looking into it. there's no rush, please take it easy

quoll 2023-09-27T19:58:57.950609Z

Try the new version 2.3.4

nivekuil 2023-09-28T08:11:41.241269Z

seems to work, thanks!

šŸŽ‰ 1
quoll 2023-09-27T05:06:08.014039Z

Interesting question. What happens with it now?

quoll 2023-09-27T05:06:26.117109Z

Nothing off the top my head would prevent this, but it never occurred to me to try

nivekuil 2023-09-27T05:08:51.249279Z

it just returns an empty sequence. works fine if you bind to just ?foo or something