This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-15
Channels
- # admin-announcements (3)
- # aws (1)
- # beginners (1)
- # boot (73)
- # cider (1)
- # clojure (146)
- # clojure-japan (4)
- # clojure-nl (3)
- # clojure-russia (90)
- # clojurescript (72)
- # community-development (17)
- # core-async (10)
- # cursive (60)
- # datomic (15)
- # devcards (7)
- # emacs (5)
- # events (5)
- # hoplon (3)
- # instaparse (3)
- # ldnclj (48)
- # leiningen (5)
- # off-topic (27)
- # om (120)
- # onyx (31)
- # re-frame (7)
- # reagent (7)
- # ring-swagger (17)
- # yada (3)
@juhoteperi: when sending a number as a header with the following :header-params [delta :- Number ks :- [String] ] i am getting a {"errors":{"delta":"(not (instance? java.lang.Number \"940376\"))"}}
Try s/Int
Number should also work, but perhaps it requires it to be floating point number
Or hmm, in fact Schema doesn't implement coercion for java.lang.Number
s/Num = java.lang.Number so should work probably
@juhoteperi: cool tx much !
@juhoteperi: how would i define a header which is an array of strings? i tried "ar :- [String]" and "ar [String]" interestingly the first form worked in body-params
@shaym: header-params don't support collections, you need to split the string yourself
@juhoteperi: sounds good , ill give it a try
@shaym: I created issue about supporting collections in header params as I closed previous issue when I implemented partial support