This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-20
Channels
- # admin-announcements (5)
- # alda (1)
- # aws-lambda (1)
- # beginners (74)
- # boot (62)
- # cider (29)
- # cljs-dev (36)
- # cljsjs (15)
- # cljsrn (34)
- # clojure (58)
- # clojure-android (3)
- # clojure-austin (15)
- # clojure-austria (11)
- # clojure-dusseldorf (25)
- # clojure-germany (6)
- # clojure-greece (26)
- # clojure-quebec (8)
- # clojure-russia (50)
- # clojure-spec (12)
- # clojure-uk (8)
- # clojurescript (46)
- # core-async (11)
- # cursive (22)
- # datomic (2)
- # devcards (27)
- # dirac (5)
- # hoplon (109)
- # jobs (1)
- # kekkonen (2)
- # lein-figwheel (12)
- # leiningen (2)
- # microservices (1)
- # off-topic (3)
- # om (70)
- # onyx (17)
- # planck (21)
- # re-frame (3)
- # reagent (2)
- # rum (1)
- # spacemacs (12)
- # spirituality-ethics (9)
- # untangled (44)
- # vim (2)
- # yada (8)
@malcolmsparks: Just starting to work through the manual, found a couple issues on https://yada.juxt.pro/manual/020_install.md
as-resource
doesn't seem to be referred in the code, and referring it and running it throws the error
CompilerException clojure.lang.ExceptionInfo: Cannot turn resource-model into resource, because it doesn't conform to a resource-model schema {:resource-model {:last-modified #inst "2016-06-20T20:15:50.595-00:00", :version "Hello World!"}, :error {:methods missing-required-key, (not (namespace :last-modified)) invalid-key, (not (namespace :version)) invalid-key}}, compiling:(core.clj:6:5)
Thanks @shaun-mahood - i'll fix that asap
@malcolmsparks: I'm also getting an error trying to run (.close svr)
based on that same section
I've updated all my dependencies to the newest versions and am planning to keep working through the manual, so if there's a better place to report issues let me know otherwise I'll keep posting them here if I run into them
Yes. Please do. Try the new quickstart chapter at http://juxt.pro/yada
We've tested with http://github.com/juxt/edge recently - those docs are much more recent. Sorry for the issues!
Oh cool, I will! I'm working with Leiningen and bringing Yada into a small existing JS app, so I'll probably run into a bunch of edge cases for you - it's self inflicted and expected pain, so you definitely don't need to apologize for anything!
@malcolmsparks: Seems like a minor issue in https://yada.juxt.pro/manual/030_hello.md, not technical though. The statement Once we have bound this handler to the path /hello, we're able to make the following HTTP request:
could be a bit confusing, since nowhere is it actually bound in the example code and when run the handler is accessible from any path on the server from what I can tell.