This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-06
Channels
- # admin-announcements (7)
- # beginners (37)
- # boot (36)
- # cider (8)
- # cljs-dev (16)
- # clojure (155)
- # clojure-hamburg (1)
- # clojure-russia (2)
- # clojurecup (21)
- # clojurescript (69)
- # clojurex (12)
- # core-async (2)
- # datavis (3)
- # datomic (5)
- # devcards (4)
- # events (2)
- # hoplon (15)
- # lein-figwheel (45)
- # off-topic (22)
- # om (77)
- # re-frame (8)
- # reagent (7)
- # slack-help (1)
Tripping on the data-readers issue : https://github.com/boot-clj/boot/issues/47
This works in the REPL, but I have not yet found where to put it in my application code: https://www.refheap.com/112387
@danielsz: what are the data readers in question?
Where should this snippet be called in the loading sequence of the application? https://www.refheap.com/112387
@danielsz: which data readers are you using specifically? datomic?
@alandipert: Specifically, I'm using the custom reader tags I have defined for Joda time.
@alandipert: I found a good fix for the problem, I think. I'll push it to boot-system.
cool. i've had the most luck avoiding data readers as much as possible
you could not use them, right?
@alandipert: You know, that's exactly what I did too. Avoiding it. But then I felt the urge to have my app participate in the reader functionality. Benefits: round-tripping edn between server and client.
you can specify the readers at the edn encode/decode place tho right?
vs. globally
Not always feasible. For example, clj-http will coerce for you, but doesn't let you specify readers
This is the fix: https://www.refheap.com/112390
I'll push this to boot-system later. That is a nice place to handle this. Even better would be in Boot itself, but probably not possible, right?
maybe possible, but also maybe not worth it
OK. Anyway, I've been struggling a lot with getting it right, not sure it was worth it. But I'll entertain the idea that it was for now.
it's going pretty well i think
been very fun so far. are you participating also?
thanks!
@alandipert: Oh, man, this is such an interesting story.
@alandipert: @micha Laughing at a coconut joke will never be the same.
we realized we should have been The Cocovores for the clojurecup
is there a boot task for managing multiple boot instances?