This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-12
Channels
- # babashka (22)
- # beginners (112)
- # calva (7)
- # cider (2)
- # clj-kondo (43)
- # cljdoc (25)
- # cljsrn (30)
- # clojars (16)
- # clojure (73)
- # clojure-australia (2)
- # clojure-bay-area (8)
- # clojure-europe (16)
- # clojure-finland (1)
- # clojure-italy (2)
- # clojure-nl (7)
- # clojure-uk (9)
- # clojurescript (28)
- # clojureverse-ops (2)
- # conjure (2)
- # css (22)
- # cursive (28)
- # datomic (9)
- # depstar (28)
- # emacs (6)
- # fulcro (39)
- # graalvm (61)
- # honeysql (38)
- # instaparse (3)
- # jobs (1)
- # kaocha (3)
- # malli (7)
- # pathom (83)
- # sql (3)
- # tools-deps (18)
- # vim (2)
- # xtdb (15)
@sekao 🙏 thank you for the video presentation. Uploaded to YouTube: https://youtu.be/27KuJU8r4-U (currently still processing ATM)
@sekao is it possible to see what rules names have been added to a session? I thought (:rule-ids @*session) would do the trick but it doesn't seem to work?
in the most recent version it is :rule-name->node-id
so it would be (-> @*session :rule-name->node-id keys)
. i would never do a breaking change in the public api but since that's an internal detail i did rename it :P
Thank you! Having a lot of fun exploring this. Do I have to match every entity for queries to work? Lets say have a hero entity with attributes {::x 10 ::y 10 ::health 100} and a background tile entity with attributes {::x 100 ::y 80 ::color "green"}. Should I be able to match on just the ::x and ::y attributes and get both entities back?
Ok. It definitely looks like partial matches are a thing but my queries are only working for entities inserted after the query-rule has been added.
I did try to o/fire-rules
but that didn't seem get the older entities picked up. It was only after I re-inserted the entities did they get picked up. Is that the way things are supposed to work?