Commit graph

2091 commits

Author SHA1 Message Date
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
Tommi Reiman
1835ffc681 Support route compilation (fixes #14)
* also, so docs
2017-08-12 17:50:21 +03:00
Tommi Reiman
defa0eac73 Merge pull request #13 from metosin/RouteCoercion
Route coercion, fixes #4
2017-08-11 16:07:43 +03:00
Tommi Reiman
08edbb9419 Route coercion, fixes #4 2017-08-11 16:02:08 +03:00
Tommi Reiman
3f352a9f7d Fix example in README 2017-08-11 08:14:15 +03:00
Tommi Reiman
5210157fc2 Merge pull request #12 from metosin/PolishForInitialRelease
Update README, more perf-tests, cleanup
2017-08-11 08:05:22 +03:00
Tommi Reiman
69ee59cbd2 Update README, more perf-tests, cleanup
* `match` => `match-by-path`
* `by-name` = > `match-by-name`
* `lookup-router` can't be created with wildcard routes
* `match-by-name` initial perf tests
2017-08-11 08:01:34 +03:00
Tommi Reiman
5646494388 Merge pull request #8 from metosin/PathFor
Lot's of small improvements
2017-08-10 15:23:42 +03:00
Tommi Reiman
a28bb2e9b6 Lot's of small improvements
* implement by-name (fixes #5)
* match-route => match
* implement routes
* by-name & match return Match-records (more info, faster to use)
* reitit.regex => reitit.impl
2017-08-10 09:47:27 +03:00
Tommi Reiman
2b57426929 Merge pull request #7 from metosin/LookupRouter
Implement LookupRouter
2017-08-10 08:34:03 +03:00
Tommi Reiman
175bb1323e Implement LookupRouter 2017-08-09 20:19:54 +03:00
Tommi Reiman
4ead4ef611 Fix README 2017-08-09 10:36:57 +03:00
Tommi Reiman
33e3658a79 Flatten nested lets 2017-08-09 10:36:11 +03:00
Tommi Reiman
32598f0e56 Merge pull request #2 from metosin/router
Router & stuff
2017-08-09 10:29:49 +03:00
Tommi Reiman
faa3c08bf0 Add stuff
* router, partially from Pedestal
* sample perf tests
* kws expand to :name
* fns expand to :handler
2017-08-08 15:31:00 +03:00
Tommi Reiman
4e18963d8c Merge pull request #1 from metosin/meta-merge
replace deep-merge with meta-merge
2017-08-07 15:24:21 +03:00
Tommi Reiman
6eecc048be replace deep-merge with meta-merge 2017-08-07 15:18:38 +03:00
Tommi Reiman
b4ceaf1318 Cleanup codes 2017-08-07 14:27:54 +03:00
Tommi Reiman
3d4737b3fb Cleanup code 2017-08-07 14:23:16 +03:00
Tommi Reiman
e6beae52f0 Initial commit 2017-08-07 14:15:45 +03:00