This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-07
Channels
- # beginners (41)
- # boot (38)
- # cider (17)
- # cljs-dev (52)
- # cljsjs (3)
- # clojure (200)
- # clojure-italy (8)
- # clojure-russia (50)
- # clojure-spec (28)
- # clojure-uk (45)
- # clojurescript (28)
- # core-async (9)
- # core-matrix (2)
- # cursive (16)
- # datascript (15)
- # datomic (50)
- # dirac (5)
- # emacs (20)
- # figwheel (8)
- # flambo (2)
- # hoplon (10)
- # incanter (1)
- # jobs (1)
- # leiningen (2)
- # lumo (26)
- # mount (171)
- # off-topic (22)
- # om (54)
- # onyx (2)
- # pedestal (27)
- # re-frame (10)
- # reagent (12)
- # ring (27)
- # ring-swagger (3)
- # rum (2)
- # slack-help (1)
- # spacemacs (134)
- # specter (6)
- # sql (15)
- # testing (20)
- # uncomplicate (5)
- # unrepl (49)
- # untangled (9)
- # yada (29)
it is possibly an edge case but when you don't take segments into account you cannot do proper url en/decoding
the url spec does talk about specs though and that url encoding of paths should be on a per-segment basis
it perhaps goes against the principles of bidi but I was thinking a
[["foo" "bar/baz"] :handler]
notation could work instead of
["foo/bar%2Fbaz" :handler]
you'll still need to be able to define path-level rules like "take all the remaining segments into a vector" and stuff like that
I'm having some issues running a yada project as an uberjar, it runs fine from the repl, but as soon as I try and run it from the jar, it fails without an error? The -main only fires off `(yada/listener routes {:port 8090})`
@geek-draven Maybe you can reproduce it in an isolated project which you can share with us?
@borkdude Sure, I can strip it down to a couple of pages, I've disabled the database element in case it was an issue
If anyone can help, here's a link to the repo: https://bitbucket.org/geek-draven/yada_test
We would like to pass an option to cheshire, :escape-non-ascii true. Is there a better way than overriding all the defmethods? https://github.com/juxt/yada/blob/master/ext/json/src/yada/json.clj#L19
We have a data source that has line separators in text, which is invalid on the client
@geek-draven How should I start your project without java -jar? lein run
exits silently, which should do the same I think as in the uberjar
@borkdude I was running (-main)
from inside the repl. I've been looking at the edge project and it looks like there's a lot more to it than just setting up the listener
this is my first yada project, so I'm still very new to it
@geekplux I think you need the same approach as with Component in production: https://github.com/stuartsierra/component#entry-points-in-production
Thanks, taking a look at that at the moment
@borkdude Thanks, for your help with this. I now have the slimmed down project working with some Frankenstein code that I took from Edge, will clean it up and add it to the main project in the morning