Commit graph

1998 commits

Author SHA1 Message Date
Tommi Reiman
eb22bae047 Re-organize docs 2017-09-18 08:30:03 +03:00
Tommi Reiman
8e2e0c07f6 Polish errors 2017-09-18 08:29:52 +03:00
Miikka Koskinen
aff2229151 Fix broken links in the docs 2017-09-14 18:08:17 +03:00
Miikka Koskinen
e715eebba8 Explicitly use the highlight plugin for gitbook
This makes the syntax highlighting work correctly.
2017-09-14 17:39:26 +03:00
Miikka Koskinen
ba8513970b Merge pull request #38 from metosin/gitbook-docs
Move the documentation into Gitbook
2017-09-14 17:20:17 +03:00
Miikka Koskinen
405e5a40be README.md: Instructions for running gitbook locally 2017-09-14 16:59:31 +03:00
Miikka Koskinen
6a95841e78 Automatically build GitBook docs with Circle 2017-09-14 16:59:31 +03:00
Miikka Koskinen
60ec0e9e81 Move documentation to GitBook 2017-09-14 16:33:36 +03:00
Tommi Reiman
9b5a9479f9 clojure.spec for the route syntax (fixes #6) 2017-09-09 11:07:59 +03:00
Tommi Reiman
3df6f11c2b Merge pull request #30 from metosin/FirstClassMiddleware
First class middleware
2017-09-08 11:39:39 +03:00
Tommi Reiman
dc06c25cae coercion & responses 2017-09-08 11:29:41 +03:00
Tommi Reiman
07c96d2b0d Disable spec instrumentation tests, don't work with :advanced 2017-09-08 11:25:53 +03:00
Tommi Reiman
1c2cabac45 1.9.0-alpha20 doesn't work with cljs
* emits: return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [##NaN,##NaN], null);
* should: return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [NaN,NaN], null);
2017-09-08 09:48:42 +03:00
Tommi Reiman
2c00b753c3 Fix cljs-tests? 2017-09-08 09:42:37 +03:00
Tommi Reiman
1d74dd31b7 Clojure 1.9.0-alpha20 2017-09-08 08:43:59 +03:00
Tommi Reiman
43b8f571c1 Update README 2017-09-08 08:29:39 +03:00
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