This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-01
Channels
- # announcements (14)
- # beginners (6)
- # biff (6)
- # calva (3)
- # cider (7)
- # clojure (79)
- # clojure-europe (5)
- # clojure-norway (9)
- # cursive (9)
- # data-science (20)
- # datomic (3)
- # fulcro (9)
- # graalvm (15)
- # integrant (2)
- # introduce-yourself (2)
- # jobs (1)
- # lsp (7)
- # malli (5)
- # off-topic (130)
- # parinfer (11)
- # pedestal (11)
- # portal (1)
- # practicalli (4)
- # releases (3)
- # remote-jobs (1)
- # ring (8)
- # ring-swagger (30)
- # shadow-cljs (9)
- # sql (10)
- # tools-deps (8)
I am playing around with biff to build a toy application, and I am struggling a bit with biff/submit-tx
. I think this is clearly a case of me holding it wrong, since I worked through the tutorial pretty easily, but I can't seem to make a simple delete call work. I have something like this:
(biff/submit-tx ctx
[{:db/op :delete
:db/doc-type :game
:game/id guid}])
And I get a bad implementation message:
java.lang.IllegalArgumentException: No implementation of method: :submit-tx of protocol: #'xtdb.api/PXtdbSubmitClient found for class: nil
ha glad you got it working! but yeah, for future reference, that kind of error message usually means the wrong thing is getting passed in for ctx
. I oughtta have submit-tx/other functions check for that immediately and give a better error message.