Commit graph

245 commits

Author SHA1 Message Date
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
Tommi Reiman
102fd35f04 Functional segemnt-router 2017-11-24 07:34:14 +02:00
Tommi Reiman
ec35c2ebbf Polish segment-router 2017-11-23 16:01:40 +02:00
Tommi Reiman
636c7ecd24 Clean up internals 2017-11-23 15:52:59 +02:00
Tommi Reiman
8019cebdc7 Segment-router to rule 'em all 2017-11-20 15:17:38 +02:00
Tommi Reiman
607e34c671 Add :type meta to Routers 2017-11-20 15:17:25 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
e8ee224160 Fix tests 2017-11-12 16:00:32 +02:00
Tommi Reiman
9434dd08e7 Don't test for nil handler
* it's already verified by the ring-router
2017-11-12 15:43:27 +02:00
Tommi Reiman
63848838d5 respond with nil if async ring route doesn't match
* relates to #45
2017-11-11 22:12:06 +02:00
Tommi Reiman
44867fbcf5 :gen -> :gem-wrap in middleware
* as preparation for support of interceptors
2017-11-11 17:30:17 +02:00
Tommi Reiman
1f27021c29 Tries have a human-readable representation 2017-11-11 16:39:11 +02:00
Tommi Reiman
2f6bfb33f8 Use linear-router always if there are conflicting routes 2017-11-11 16:38:16 +02:00
Tommi Reiman
de993abf62 Move tests 2017-11-10 18:12:00 +00:00
Tommi Reiman
5d7786936c prefix-tree-router! 2017-11-10 18:12:00 +00:00
Tommi Reiman
39bc633576 j.u.HashMap fails with nil 2017-11-10 18:12:00 +00:00
Tommi Reiman
2ae8fd27a8 Replace the version in place 2017-10-30 21:39:35 +02:00
Tommi Reiman
c3820239c5 Walk the docs, fix links, maybe better texts 2017-10-30 08:46:20 +02:00
Tommi Reiman
a3ebb04038 Manage dependencies via lein-parent 2017-10-29 09:31:28 +02:00
Tommi Reiman
f93a452209 Re-package & re-module 2017-10-29 09:31:28 +02:00
Tommi Reiman
460ba5ecc0 Fix based on Miikka's comments 2017-10-29 09:31:28 +02:00
Tommi Reiman
4805555417 Initial module split
* metosin/reitit (all)
* metosin/reitit-core (just the router)
* metosin/reitit-ring (the ring stuff)
2017-10-29 09:31:28 +02:00