This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-24
Channels
- # announcements (2)
- # babashka (39)
- # babashka-sci-dev (1)
- # beginners (30)
- # biff (2)
- # cider (9)
- # clj-commons (5)
- # clj-yaml (30)
- # cljdoc (15)
- # clojars (1)
- # clojure (13)
- # clojure-europe (42)
- # clojure-poland (6)
- # clojure-uk (2)
- # cursive (4)
- # datomic (24)
- # graalvm (12)
- # graphql (7)
- # hyperfiddle (91)
- # lsp (175)
- # malli (3)
- # membrane (9)
- # music (1)
- # off-topic (5)
- # reagent (7)
- # reitit (1)
- # releases (7)
- # rewrite-clj (1)
- # scittle (7)
- # shadow-cljs (3)
Hi! I am using re-graph
with AWS AppSync. I have a problem with this code:
(rf/dispatch [::rg/subscribe
{:id "help"
:query "subscription MySubscription {\n onCreateTestModel {\n id\n title\n }\n}"
:variables {:some "variable"}
:callback [::on-thing]}])
I am getting the error:
Error: Doesn't support name:
which indicates there’s a nil
parameter to the name
function as far as I can tell. I looked through the re-graph
code (0.2.0) and none of the instances where name
is invoked seem to be problematic. Any run into this or can help me? Thanks in advance!Good morning @U076R6N1L. I called init
and am not getting a stacktrace
your dispatch looks correct to me, i.e. identical to https://github.com/oliyh/re-graph/blob/master/test/re_graph/core_test.cljc#L67-L70