This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-27
Channels
- # admin-announcements (3)
- # beginners (26)
- # boot (12)
- # cider (1)
- # cljs-dev (13)
- # cljsjs (101)
- # cljsrn (5)
- # clojure (64)
- # clojure-android (1)
- # clojure-gamedev (1)
- # clojure-greece (23)
- # clojure-nl (9)
- # clojure-poland (2)
- # clojure-russia (3)
- # clojure-spec (11)
- # clojure-uk (159)
- # clojurescript (19)
- # component (1)
- # core-async (2)
- # cursive (2)
- # datascript (1)
- # datomic (2)
- # devcards (1)
- # events (1)
- # funcool (1)
- # hispano (1)
- # hoplon (24)
- # immutant (12)
- # jobs (1)
- # keechma (18)
- # lein-figwheel (2)
- # leiningen (2)
- # off-topic (8)
- # om (23)
- # onyx (4)
- # planck (26)
- # re-frame (149)
- # reagent (6)
- # ring-swagger (9)
- # spacemacs (1)
- # specter (33)
- # spirituality-ethics (11)
- # testing (10)
- # untangled (335)
- # utah-clojurians (3)
- # vim (3)
- # yada (46)
:query-params [ids :- String display :- String] guys how can I turn the above parameters as optional instead of required?
@leo.ribeiro: with :query-params [{ids :- String ""}, {display :- String "default"}]
@ikitommi: thank you… do you know where can I find this?
like in the docs, or how can I find this in the source?
c-api uses the plumbing fnk-notation, see https://github.com/plumatic/plumbing/blob/master/README.md#bring-on-defnk
the source code for query-params
is here: https://github.com/metosin/compojure-api/blob/master/src/compojure/api/meta.clj#L187-193
@ikitommi: thank you, I will take a look