This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-26
Channels
- # aleph (1)
- # beginners (96)
- # boot (5)
- # cider (44)
- # cljdoc (11)
- # clojure (73)
- # clojure-conj (4)
- # clojure-dev (1)
- # clojure-finland (2)
- # clojure-italy (7)
- # clojure-new-zealand (1)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-uk (66)
- # clojurescript (114)
- # code-reviews (16)
- # cursive (15)
- # datomic (37)
- # emacs (6)
- # events (2)
- # figwheel-main (12)
- # fulcro (36)
- # graphql (19)
- # hoplon (2)
- # hyperfiddle (3)
- # jobs (2)
- # leiningen (4)
- # off-topic (36)
- # om (1)
- # om-next (2)
- # other-languages (1)
- # re-frame (12)
- # reagent (12)
- # reitit (5)
- # remote-jobs (4)
- # ring (2)
- # shadow-cljs (218)
- # spacemacs (8)
- # specter (7)
- # sql (34)
- # tools-deps (9)
- # uncomplicate (6)
finally got data loaded, stillsuit connected , and started migrating queries over to the real database.
first query I tried to resolve was an all-organizations, which works, but this { organizations { displayName } }
returns { "data": { "organizations": [ "null", "null", ...]}}
or rather, the datomic property is :organization/display-name
. so I think the stillsuit default resolver isn’t translating correctly.
I can’t see one … is there any way to get stillsuit to accept a provided namespace for an entity?
can you add namespaced for your entities in datomic? - you’ll thank yourself later if you do
Uh, you can tell it what the (graphql) type of any given datomic ref
is: http://docs.workframe.com/stillsuit/current/manual/#__stillsuit_lacinia_type
Not sure if that's what you were looking for
I haven’t used it myself but have you got :JavaUUID as your type in the schema then it should convert it automatically
I also started with umlaut - great to get started but when I needed to do something it didn’t I switched to just using a lacinia schema.
although I think umlaut can have custom scalars
I’m using a hacked-up version that lets me do some of the things it didn’t do for me. 🙂