Commit graph

71 commits

Author SHA1 Message Date
Tommi Reiman
20b9d3c6c8 :parts => :path-parts 2018-02-01 16:25:04 +02:00
Tommi Reiman
54b24be28e :params => :path-params 2018-02-01 16:23:44 +02:00
Tommi Reiman
fda6a1e06f Support not-found with ring 2018-01-23 20:29:22 +02:00
Dmitri Sotnikov
6625cf31d7
allow custom default-handler to ring-router 2018-01-07 16:36:26 -05:00
Tommi Reiman
fb99b4f9fd Parameter & Response Coercion with specs 2017-12-31 11:34:37 +02:00
Tommi Reiman
07bcd2ea59 Cleanup 2017-12-31 11:34:13 +02:00
Tommi Reiman
708fa24590 rename package 2017-12-31 11:30:55 +02:00
Tommi Reiman
b7b0b7c81d Docs for Ring spec validation 2017-12-29 11:56:01 +02:00
Tommi Reiman
9273f99806 Middleware can also contribute to router specs 2017-12-28 22:41:02 +02:00
Tommi Reiman
abb09e2736 Fix -exclude 2017-12-27 21:40:36 +02:00
Tommi Reiman
5c53b6e989 Fix path spec - doesn't have to start with "/" 2017-12-27 20:28:25 +02:00
Tommi Reiman
6321d1e8be Docs for route-data validation 2017-12-27 20:27:51 +02:00
Tommi Reiman
1a9583b31b Support ring-route-data validation 2017-12-26 22:41:17 +02:00
Tommi Reiman
0dbb75ad44 Add :path & :method to Endpoints 2017-12-26 22:40:53 +02:00
Tommi Reiman
06cb1301cd Support route data validation in router 2017-12-26 22:40:34 +02:00
Tommi Reiman
ce15ae95ec Exclude -lookup (cljs) 2017-12-26 22:39:14 +02:00
Tommi Reiman
ee0c733726 Compile routes already in reitit.core/router 2017-12-26 17:56:46 +02:00
Tommi Reiman
8a48d6790b . 2017-12-16 10:51:32 +02:00
Tommi Reiman
1427f12c53 fix reflection warnings 2017-12-14 11:45:01 +02:00
Tommi Reiman
2dc3636064 Coercion is a reified Protocol, not a Record 2017-12-14 09:16:10 +02:00
Tommi Reiman
fd6a39aefc Implement Interceptors like Middlewar 2017-12-12 22:27:50 +02:00
Tommi Reiman
927d4d4389 Remove middleware/create & polish stuff 2017-12-12 22:27:36 +02:00
Tommi Reiman
2092682d6a interceptors, wip 2017-12-10 18:08:46 +02:00
Tommi Reiman
978b2691ca schema & spec only depend on core! 2017-12-10 17:50:31 +02:00
Tommi Reiman
715968a5d2 Coercion docs 2017-12-10 16:57:09 +02:00
Tommi Reiman
7af3f470d6 Cleanup 2017-12-09 23:46:26 +02:00
Tommi Reiman
dbe40e0145 coerce! with tests 2017-12-09 23:07:33 +02:00
Tommi Reiman
b9f032a5ce Cleanup Coercion 2017-12-09 22:49:32 +02:00
Tommi Reiman
5fdaf609c2 Guard for infinite middleware compilation 2017-12-05 08:52:53 +02:00
Tommi Reiman
259c8e01bb Test for deeply compiled middleware 2017-12-05 08:40:21 +02:00
Tommi Reiman
22bbe38b8c reitit.ring.middleware => reitit.middleware 2017-12-04 23:58:05 +02:00
Tommi Reiman
164473cc75 :gel-wrap => :compile 2017-12-04 22:44:13 +02:00
Tommi Reiman
ba78008d90 expand the transformed mw 2017-12-04 08:36:06 +02:00
Tommi Reiman
368850b6ab :reitit.ring.middleware/transform! 2017-12-03 21:16:23 +02:00
Tommi Reiman
82e300a9aa More docs 2017-12-03 21:00:34 +02:00
Tommi Reiman
59aa364932 middleware/chain 2017-12-03 17:42:47 +02:00
Tommi Reiman
b210a98f83 polish Coercion protocol
* compile => compile-model
* mae-open => open-model
2017-12-03 17:29:06 +02:00
Tommi Reiman
a436b32729 gen-wrap-* => *-middleware 2017-12-03 17:28:24 +02:00
Tommi Reiman
e0dc618c4b Compile Schema coercers ahead of time -> 4x perf 2017-12-01 09:32:26 +02:00
Tommi Reiman
97598ce194 Fix :body coercion (not open, :body coercer) 2017-11-27 08:01:52 +02:00
Tommi Reiman
becd30386d Works with ClojureScript! 2017-11-27 08:00:27 +02:00
Tommi Reiman
132240b422 ClojureScriptify Exceptions 2017-11-26 22:04:51 +02:00
Tommi Reiman
7979c9de9d Remove normal middleware, slow and noicy 2017-11-26 21:51:55 +02:00
Tommi Reiman
03d4e8c4bf Implement coercion error handling 2017-11-26 21:51:43 +02:00
Tommi Reiman
4d772c62e1 Polish implementations 2017-11-26 21:51:21 +02:00
Tommi Reiman
861c16b195 initial commit 2017-11-24 19:09:45 +02:00
Tommi Reiman
293274fb68 implement catch-all params for segment-router 2017-11-24 18:58:48 +02:00
Tommi Reiman
e0786b73f0 Remove prefix-tree router as it's broken 2017-11-24 09:45:52 +02:00
Tommi Reiman
4490fc1685 Test the segment-router. prefix-tree fails on complex tests... 2017-11-24 09:42:53 +02:00
Tommi Reiman
5d7670de60 Welcome segment-router! 2017-11-24 09:01:05 +02:00