This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-31
Channels
- # aleph (3)
- # aws (5)
- # beginners (65)
- # boot (17)
- # cljs-dev (112)
- # cljsrn (5)
- # clojure (146)
- # clojure-austin (3)
- # clojure-dusseldorf (3)
- # clojure-italy (18)
- # clojure-norway (13)
- # clojure-russia (84)
- # clojure-serbia (5)
- # clojure-spec (24)
- # clojure-uk (84)
- # clojurescript (204)
- # css (1)
- # cursive (21)
- # data-science (3)
- # datascript (21)
- # datomic (26)
- # emacs (5)
- # euroclojure (1)
- # hoplon (8)
- # jobs (7)
- # jobs-discuss (2)
- # keechma (35)
- # lumo (92)
- # mount (1)
- # nrepl (2)
- # numerical-computing (16)
- # off-topic (10)
- # om (58)
- # re-frame (13)
- # reagent (90)
- # remote-jobs (2)
- # ring-swagger (1)
- # spacemacs (9)
- # specter (6)
- # unrepl (17)
- # untangled (56)
- # yada (2)
the new c-api validation errors might look something like this (as seen from the JSON client): OLD:
{
"errors": {
"name": "missing-required-key"
}
}
NEW:
{
"type": "compojure.api.exception/request-validation",
"validation": "schema",
"value": {
"description": "string",
"size": "L",
"origin": {
"country": "PO",
"city": "string"
}
},
"in": [
"request",
"body-params"
],
"schema": {
"name": "java.lang.String",
"<#C1923ED97|schema>.core.OptionalKey{:k :description}": "java.lang.String",
"size": [
"enum",
"L",
"M",
"S"
],
"origin": {
"country": [
"enum",
"PO",
"FI"
],
"city": "java.lang.String"
}
},
"errors": {
"name": "missing-required-key"
}
}