Commit graph

719 commits

Author SHA1 Message Date
Tommi Reiman
c7c4013f97 README & small fixes 2017-08-30 13:28:49 +03:00
Tommi Reiman
dcd559bf27 Initial Spec request/response coercion (fixes #20) 2017-08-30 08:19:21 +03:00
Tommi Reiman
86acee9098 Polish perf tests 2017-08-30 08:16:21 +03:00
Tommi Reiman
4e22fd2f53 Allow middleware to be compiled (fixes #26)
Match :handler => :result
2017-08-30 08:14:06 +03:00
Tommi Reiman
18f8bdfbec Merge branch 'SmallImpro' 2017-08-22 18:34:57 +03:00
Tommi Reiman
74e6cc8bf0 Update README.md 2017-08-22 18:33:02 +03:00
Tommi Reiman
4cd5dfee40 Merge pull request #25 from metosin/DuplicateRoutes
Handle conflicting routes, custom & mixed-router
2017-08-22 16:48:20 +03:00
Tommi Reiman
b23bcfbd30 Add comment based on Miikka's comments 2017-08-22 16:44:05 +03:00
Tommi Reiman
f893be3d00 Transcude names, fix ataraxy routes 2017-08-22 13:10:39 +03:00
Tommi Reiman
dd6d0d5a1c use linearrouter if all routes are wild 2017-08-22 13:10:39 +03:00
Tommi Reiman
3dc1cdfbe2 Welcome :mixed-router (-20% on rest-test) & custom routers 2017-08-22 13:10:39 +03:00
Tommi Reiman
bf0d327570 Better error messages 2017-08-22 13:10:39 +03:00
Tommi Reiman
066f5752c2 Return all conflicts for IO 2017-08-22 13:10:39 +03:00
Tommi Reiman
9701a51c5a Routing -> Router, fix tests 2017-08-22 13:10:38 +03:00
Tommi Reiman
f5f1104826 Router option to handle conflicts 2017-08-22 13:10:38 +03:00
Tommi Reiman
851e35ef52 Validate routes for duplicates (fixes #23) 2017-08-22 13:10:38 +03:00
Tommi Reiman
0befddf72c Merge pull request #22 from metosin/SmallImpro
Small improvements
2017-08-22 11:36:42 +03:00
Tommi Reiman
8ce6d4e414 Update README 2017-08-20 21:13:15 +03:00
Tommi Reiman
853b7ac24b Cleanup 2017-08-20 21:04:35 +03:00
Tommi Reiman
3e3f728c4e reitit/options, reitit/router-type, reified protocols 2017-08-20 21:00:20 +03:00
Tommi Reiman
bbcf0c8350 2x speed with LookupRouter & fast-map on clj 2017-08-20 20:40:50 +03:00
Tommi Reiman
1ea6b55849 Testing LookupRouter perf, +20% with fast-assoc 2017-08-20 19:14:49 +03:00
Tommi Reiman
2d5e92d116 Test also pedestal & ring-routes 2017-08-20 09:52:44 +03:00
Tommi Reiman
40fcf5761e compojure-api routing perf 2017-08-20 08:09:31 +03:00
Tommi Reiman
b780a760ef Initial tests for the opensensors routing 2017-08-19 21:27:25 +03:00
Tommi Reiman
9c0ac5bcc0 Sketch for real world perf tests 2017-08-19 16:05:42 +03:00
Tommi Reiman
0276e82dd9 Polish docs, more tests 2017-08-19 16:04:44 +03:00
Tommi Reiman
bc2706147c PartialMatch & route-names 2017-08-19 16:04:13 +03:00
Tommi Reiman
24bb758e99 Pass opts to expand and expand-middleware 2017-08-17 11:47:53 +03:00
Tommi Reiman
f39ef9ecad Update README 2017-08-17 09:24:23 +03:00
Tommi Reiman
038dfd11ae Update README, fix NPE with match-by-name 2017-08-17 08:54:54 +03:00
Tommi Reiman
1bd236f477 Merge pull request #18 from metosin/EatYourOwn
Match is injected into request
2017-08-15 15:53:53 +03:00
Tommi Reiman
406b4c653f Update README 2017-08-15 11:09:33 +03:00
Tommi Reiman
0de9e1b3c6 Polish 2017-08-15 10:26:48 +03:00
Tommi Reiman
7cd4c62216 Match is injected into request 2017-08-15 10:05:26 +03:00
Tommi Reiman
6a8f94283a Merge pull request #17 from metosin/MiddlewareRouter
Middleware router (approved with #16)
2017-08-15 09:23:16 +03:00
Tommi Reiman
555c3b4c41 Polish README 2017-08-15 09:14:02 +03:00
Tommi Reiman
e38d500b03 Docs for Ring-stuff 2017-08-15 08:57:57 +03:00
Tommi Reiman
55a97e604b Welcome reitit.middleware 2017-08-15 08:57:37 +03:00
Tommi Reiman
252497fca3 Merge pull request #16 from metosin/RingRouter
Ring router
2017-08-14 16:01:27 +03:00
Tommi Reiman
cf06a1757d Cleanup tests 2017-08-14 09:50:12 +03:00
Tommi Reiman
d21f051868 Review fix by @miikka 2017-08-14 09:42:12 +03:00
Tommi Reiman
fe19b57b01 Ring simple-router & method-router 2017-08-14 09:42:12 +03:00
Tommi Reiman
93447fdc71 coerce & compile take opts, resolved in router 2017-08-14 09:42:12 +03:00
Tommi Reiman
fa37e3e198 Initial sketch for a ring-router 2017-08-14 09:42:12 +03:00
Tommi Reiman
a208f7df6c Remove println 2017-08-14 09:42:12 +03:00
Tommi Reiman
d74b98af2f Merge pull request #15 from metosin/CompileRoutes
Support route compilation (fixes #14)
2017-08-14 09:38:23 +03:00
Tommi Reiman
91bc72e8cd Single pass router creation 2017-08-13 14:53:50 +03:00
Tommi Reiman
0a58510dc2 Default compile get the :handler from meta 2017-08-13 14:40:46 +03:00
Tommi Reiman
5f1d6a61a6 Cleanup & fix perf test 2017-08-12 17:55:58 +03:00