Commit graph

1982 commits

Author SHA1 Message Date
Tommi Reiman
4074d31a99 The new ::spec/routes 2017-09-08 08:29:31 +03:00
Tommi Reiman
3bc42a8de8 Ring uses Middleware Endpoint & polish 2017-09-08 08:29:08 +03:00
Tommi Reiman
ac8a7b5cd2 Don't push :path-params if there aren't any 2017-09-08 08:28:15 +03:00
Tommi Reiman
d60c67c0c3 Middleware name is not mandatory 2017-09-08 08:27:32 +03:00
Tommi Reiman
881fb240bc IntoMiddleware is now any? => Middleware
Also, reitit/routes returns compiled results ftw!
2017-09-08 08:27:20 +03:00
Tommi Reiman
249a54f9bc router-type => router-name 2017-09-08 08:17:45 +03:00
Tommi Reiman
ec628bd05e Merge branch 'CompiledMiddlewareAndSpecCoercion' 2017-09-05 20:13:28 +03:00
Tommi Reiman
3019f65b91 Merge pull request #29 from metosin/CoreSpecs
Initial specs for reitit.core [WIP]
2017-09-05 11:49:32 +03:00
Tommi Reiman
df27ad526e Merge pull request #27 from metosin/CompiledMiddlewareAndSpecCoercion
Data-driven middleware and spec coercion
2017-09-05 11:49:19 +03:00
Tommi Reiman
750e2592df simplify specs 2017-09-04 16:09:19 +03:00
Tommi Reiman
b4855699b5 use fn? instead of fspec with router options
fspec fails for some reason.
related? http://github.com/walmartlabs/lacinia/pull/112
2017-09-04 08:33:49 +03:00
Tommi Reiman
7d4db18000 Initial specs for reitit.core 2017-09-04 08:33:49 +03:00
Tommi Reiman
76f7f28591 welcome, first class data-driven Middleware. 2017-09-04 08:24:42 +03:00
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