This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-11
Channels
- # announcements (1)
- # aws (2)
- # beginners (43)
- # calva (7)
- # cider (5)
- # cljs-dev (1)
- # cljsrn (2)
- # clojure (68)
- # clojure-android (10)
- # clojure-conj (2)
- # clojure-italy (10)
- # clojure-nl (3)
- # clojure-spec (3)
- # clojure-uk (128)
- # clojurescript (10)
- # core-async (47)
- # cursive (32)
- # datomic (35)
- # events (1)
- # fulcro (24)
- # funcool (2)
- # graphql (2)
- # jobs (3)
- # juxt (2)
- # leiningen (3)
- # luminus (1)
- # off-topic (7)
- # om (1)
- # onyx (2)
- # pedestal (32)
- # perun (2)
- # portkey (2)
- # re-frame (4)
- # ring-swagger (2)
- # rum (3)
- # shadow-cljs (137)
- # spacemacs (4)
- # testing (3)
- # tools-deps (101)
- # uncomplicate (2)
- # unrepl (5)
- # vim (2)
What’s the right way to add one interceptor globally without replicating default-interceptors in a codebase?
call io.pedestal.http/default-interceptors
before io.pedestal.http/create-server
and manipulate the io.pedestal.http/interceptors
collection in between
This is how dev-interceptors are added in the pedestal-service template https://github.com/pedestal/pedestal/blob/master/service-template/src/leiningen/new/pedestal_service/server.clj#L27-L28
@ddeaguiar do you have plans to push a release with the fixes for Clojure 1.10 soon? Looks like RC-1 is now out.
@jvtrigueros do you happen to know how I can just import pedestal.log from JitPack?
I currently have com.github.pedestal/pedestal {:mvn/version "e6b6286c6b"}
in my deps.edn
trying to replace io.pedestal/pedestal.log {:mvn/version "0.5.4"}
with a version from git
@mkvlr I've only used JitPack with Leiningen. I don't know if works with clj deps, I've never used it before, does it allow you to add custom repositories?
but I’m not sure it works for repositories where the file is in a subpath, i.e. https://github.com/pedestal/pedestal/tree/master/log
@ddeaguiar wouldn’t the have to be a pom.xml
or deps.edn
in the pedestal repo for that to work?
io.pedestal/pedestal.log {:git/url "
if someone else wants to use it
Committing a deps.edn directly in pedestal doesn’t need a release, right? Would such a PR be accepted?
@U7PBP4UVA possibly but I recommend opening an issue first
@mkvlr FWIW here's what you would need if you wanted to make it work with JitPack:
{:deps {com.github.pedestal/pedestal {:mvn/version "e6b6286c6b"}}
:mvn/repos {"jitpack" {:url ""}}}
@jvtrigueros I did have it running so far, but I only want the log app, not everything…
Ah I se
I've never used JitPack that way, sounds like you've worked it out though!