This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-26
Channels
- # announcements (2)
- # babashka (55)
- # beginners (107)
- # calva (65)
- # cider (5)
- # clara (4)
- # clj-kondo (17)
- # cljs-dev (38)
- # cljsrn (16)
- # clojure (117)
- # clojure-australia (8)
- # clojure-europe (13)
- # clojure-italy (4)
- # clojure-nl (5)
- # clojure-provo (2)
- # clojure-sweden (9)
- # clojure-taiwan (1)
- # clojure-uk (41)
- # clojurescript (40)
- # code-reviews (1)
- # conjure (40)
- # cursive (4)
- # datomic (11)
- # events (2)
- # fulcro (33)
- # graalvm (1)
- # jobs (2)
- # jobs-discuss (19)
- # lsp (18)
- # off-topic (58)
- # polylith (2)
- # quil (2)
- # react (28)
- # reagent (35)
- # reitit (3)
- # remote-jobs (1)
- # ring (9)
- # sci (76)
- # shadow-cljs (19)
- # sql (10)
- # testing (5)
- # vim (13)
- # xtdb (5)
Hi,
I am trying to add schema/deprecated
to my schema definition following this instruction here https://blog.datomic.com/2017/01/the-ten-rules-of-schema-growth.html . Something like
{:db/ident :some/identifier,
:db/valueType :db.type/boolean,
:db/cardinality :db.cardinality/one,
:db/doc "Some doc",
:schema/deprecated true}
But got the following
Exception in thread "main" clojure.lang.ExceptionInfo: Unable to resolve entity: :schema/deprecated {:cognitect.anomalies/category :cognitect.anomalies/incorrect, :cognitect.anomalies/message "Unable to resolve entity: :schema/deprecated", :entity :schema/deprecated, :db/error :db.error/not-an-entity, :dbs [{:database-id "datomic:", :t 7388, :next-t 7390, :history false}]}
Am I doing something wrong? Thanks!It looks like you need to define the schema/deprecated
attribute. Once there’s a schema for it in the db you should be able to use it when defining/adding attributes to existing schema entities.
If anyone has a suggestion on my current datomic cloud issue i would love to hear it. I'm currently just googling around the issue waiting for inspiration to strike. https://forum.datomic.com/t/how-to-troubleshoot-that-my-local-web-handler-correctly-returns-the-payload-status-body-etc-but-deployed-api-gateway-warpped-function-doesnt/1844/2
thanks. ill give it a try. I need to even take minute and understand how to setup and read the logs...
I see there's a new version of client-cloud (0.8.113) on Maven. In general, we should not update to versions not posted on the https://docs.datomic.com/cloud/releases.html#current page, correct?
Do you feel .... lucky?
In all seriousness though, I think the typical release flow for libraries is to only release releases to the release repository. Anything else goes to the snapshot repo.
In general, I think it’s best to wait for an announcement that may cover anything to be aware of.