Commit graph

719 commits

Author SHA1 Message Date
Tommi Reiman
7b336bbe36
Merge pull request #54 from metosin/MiddlewareAddons
Middleware addons
2017-12-05 09:08:56 +02:00
Tommi Reiman
4b3a4110ab Fix (cljs) tests 2017-12-05 08:58:55 +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
e56dc4ef70 . 2017-12-04 09:02:46 +02:00
Tommi Reiman
e7dcb7b91d
Merge pull request #53 from metosin/middleware-games
Middleware games
2017-12-04 08:49:43 +02:00
Tommi Reiman
7167c76af8 Cleanup example 2017-12-04 08:49:15 +02:00
Tommi Reiman
33260396d2 Update docs 2017-12-04 08:36:11 +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
8bbf2eb78c Polish tests 2017-12-03 21:07:41 +02:00
Tommi Reiman
82e300a9aa More docs 2017-12-03 21:00:34 +02:00
Tommi Reiman
653743a25f
Merge pull request #52 from metosin/coercion-samples
Cleanup coercion & samples
2017-12-03 17:52:48 +02:00
Tommi Reiman
3a9feb0784 FIx coercion docs 2017-12-03 17:52:28 +02:00
Tommi Reiman
1f2bac40db example of just coercion with ring 2017-12-03 17:43:57 +02:00
Tommi Reiman
e0eb1fd0a3 ring-example 2017-12-03 17:43:40 +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
71eae5fac2 Better coercion examples 2017-12-01 09:31:21 +02:00
Tommi Reiman
5cfb5374d3
Merge pull request #49 from metosin/segment-router
Segment router (WIP)
2017-11-27 08:15:05 +02:00
Tommi Reiman
63b8cf924c
Merge pull request #51 from metosin/schema-coercion
Schema coercion
2017-11-27 08:11:35 +02:00
Tommi Reiman
9538d74ae0 Tune docs 2017-11-27 08:02:35 +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
85c4a0a8c0 don't test compojure-api, it's compojure all over 2017-11-24 18:58:17 +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
8d99163aef
Merge pull request #48 from metosin/meta->data
BREAKING: route :meta => :data
2017-11-18 13:34:51 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
a246bf4a9e Final(?) tweeks 2017-11-13 07:56:04 +02:00
Tommi Reiman
1648b2d1b1 #reitit at slack 2017-11-13 07:25:33 +02:00
Tommi Reiman
ebbbf429ee Rewrite performance.md 2017-11-13 07:25:22 +02:00
Tommi Reiman
9c8d25c2cd Polish route tests 2017-11-13 07:25:03 +02:00
Tommi Reiman
127c071fc8 Update docs & perf tests 2017-11-12 22:01:53 +02:00