We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc937b4 commit fa5fb01Copy full SHA for fa5fb01
CHANGELOG.md
@@ -3,7 +3,9 @@ See also: [compojure-api 1.1.x changelog](./CHANGELOG-1.1.x.md)
3
## Unreleased
4
5
* Fix empty spec response coercion. [#413](https://github.com/metosin/compojure-api/issues/413)
6
+* Add back `defapi` (and deprecate it)
7
* Remove potemkin [#445](https://github.com/metosin/compojure-api/issues/445)
8
+* Add back `compojure.api.routes/create`
9
10
## 2.0.0-alpha31 (2019-12-20)
11
src/compojure/api/routes.clj
@@ -93,6 +93,9 @@
93
(applyTo [this args]
94
(AFn/applyToHelper this args)))
95
96
+(defn create [path method info childs handler]
97
+ (->Route path method info childs handler))
98
+
99
(defmethod print-method Route
100
[this ^Writer w]
101
(let [childs (some-> this realize-childs filter-childs :childs seq vec)]
0 commit comments