This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-15
Channels
- # announcements (10)
- # beginners (113)
- # calva (2)
- # cider (75)
- # clj-kondo (1)
- # cljdoc (2)
- # clojure (142)
- # clojure-europe (11)
- # clojure-gamedev (6)
- # clojure-italy (7)
- # clojure-nl (8)
- # clojure-spec (3)
- # clojure-uk (50)
- # clojurescript (47)
- # cursive (7)
- # data-science (22)
- # datomic (12)
- # dirac (3)
- # events (1)
- # fulcro (114)
- # gorilla (1)
- # jackdaw (5)
- # joker (3)
- # kaocha (10)
- # leiningen (1)
- # liberator (2)
- # mount (6)
- # nrepl (1)
- # off-topic (16)
- # pathom (34)
- # pedestal (3)
- # re-frame (19)
- # reagent (11)
- # remote-jobs (5)
- # shadow-cljs (127)
- # spacemacs (12)
- # test-check (15)
- # tools-deps (8)
- # vim (4)
I'm trying to push an unreproducible deployment using clj on-windows. I'm getting the following error:
{:command-failed "{:op :push :uname daniel-test}",
:causes
({:message "Data did not conform",
:class ExceptionInfo,
:data
#:clojure.spec.alpha{:problems
({:path [:local :home],
:pred clojure.core/string?,
:val nil,
:via
[:cognitect.s3-libs.specs/local
:cognitect.s3-libs.specs/home],
:in [:local :home]}),
:spec
#object[clojure.spec.alpha$map_spec_impl$reify__1997 0x52f8a6f4 "clojure.spec.alpha$map_spec_impl$reify__1997@52f8a6f4"],
:value
{:description
"Unreproducible deployment (no git commit)",
:query-group nil,
:app-name "my-app",
:op :push,
:uname daniel-test,
:allow
[my-app.main/hello-world-handler],
:lambdas
{:hello
{:fn
my-app.main/hello-world-handler,
:description "Simple hello world endpoint",
:integration :api-gateway/proxy}},
:datomic.ion.dev.config/resource
"datomic/ion-config.edn",
:local {:home nil},
:bucket
"datomic-code-154b2dce-48b5-44da-989b-c6ecdebd8183"}}})}
It fails on :local {:home nil}
which is not set by me.Is there a way to get :db/tx
(or :db/txInstant
) from the pull API?
transactions are entities, you can pull them @shaun-mahood
@ghadi - Yeah, that's what I was trying - I have a nested list near the bottom of my pull, and I want to get the transaction for those entities.
Ok, that's kind of what I figured. Thanks!
Part of the problem here is entities don't have transactions, only assertions/retractions do (entity + attribute + value combo)
Oh, interesting - I didn’t realize there was a distinction there.