Tommi Reiman
c5dc91af89
Update tests & CHANGELOG
2020-04-06 10:57:12 +03:00
Juho Teperi
03009f5ca4
Ensure rfe/history is set during initial on-navigate call
...
Fixes #315
2020-03-05 15:32:16 +02:00
Juho Teperi
c4e84c2875
Add clj-kondo and fix most linting warnings
2020-03-05 13:32:48 +02:00
Juho Teperi
c214622495
Fix malli tests
2020-03-05 12:35:37 +02:00
Tommi Reiman
9b024db897
Response coercion is decode + validate + encode
2020-01-07 07:03:57 +02:00
Tommi Reiman
9200afe814
Polish tests
2020-01-06 21:49:41 +02:00
Tommi Reiman
91a2945578
Add support for default values
2019-12-30 22:58:05 +02:00
Tommi Reiman
3c61824f1d
malli coercion + strip extra keys by default with spec
2019-12-28 00:51:41 +02:00
Tommi Reiman
93f947831d
malli + swagger docs
2019-12-27 22:03:52 +02:00
Tommi Reiman
10be520a0d
Malli + coercion
2019-12-27 22:03:52 +02:00
Matt Russell
5aac69f563
Add metosin/ring-http-response support to exception middleware.
2019-12-12 22:29:17 +00:00
Pauli Jaakkola
6d5bf64833
Implement encoding of multi-valued query params.
2019-12-02 15:33:55 +02:00
Pauli Jaakkola
0adb820bba
Collect multi-valued query params into vector.
2019-11-15 12:53:32 +02:00
Ilmo Raunio
e092001568
Add test cases to check for deep paths
2019-11-13 22:49:21 +02:00
Ilmo Raunio
8a86701902
Allow path conflict resolution with :conflicting
2019-11-13 22:49:21 +02:00
Tommi Reiman
e2a297a69d
More tests, fixes #320
2019-10-10 15:09:58 +03:00
Daw-Ran Liou
69795f5fe7
Tighten middleware spec from collection to vector
...
This avoids messing up the order of middleware chain accidentally.
2019-10-09 18:38:32 +03:00
Daw-Ran Liou
4a199b918a
Add test to validate middleware cannot be list
...
When meta-merges list with a vector, the resulting order is reversed. To avoid
this for the middleware chain, middleware cannot be lists.
2019-10-09 18:38:32 +03:00
Alexander Kiel
a19849fe58
Make Map Destructuring of Namespaced Keys more Beautiful
...
It's possible to put the :keys keyword in the namespace of the keys one likes to
destructure. With that one can use symbols in the vector again. One advantage of
having symbols is, that Cursive grays them out if not used. I found two
occurrences of unused destructured keys.
2019-07-13 17:02:41 +03:00
Tommi Reiman
91e860f6c6
Support 3-arity handler for default-options-handler
2019-06-16 20:11:19 +03:00
Tommi Reiman
47906df7b9
Update deps & docs
2019-06-15 11:49:11 +03:00
Tommi Reiman
46897f3927
Update docs
2019-06-09 20:46:20 +03:00
Tommi Reiman
c9281f0e89
support :parameter-syntax option in router
2019-06-09 20:29:03 +03:00
Tommi Reiman
fdca962d60
Less config for the test
2019-05-23 18:56:54 +03:00
Tommi Reiman
37deaa3b9e
Check also pedestal interceptor key values, fixes #285
2019-05-23 18:53:27 +03:00
Daniel Sunnerek
372d7e7509
[ #283 ] Allow to pass some defaults to create-default-handler
2019-05-23 13:18:49 +02:00
Tommi Reiman
5efdc67954
Merge pull request #281 from malesch/feature/fix-typos
...
Fix a bunch of typos
2019-05-22 21:47:36 +03:00
Tommi Reiman
38d419a82b
Fix typo
2019-05-22 21:12:13 +03:00
Marcus Spiegel
8dcebcf49f
Fix typos
2019-05-22 19:17:10 +02:00
Tommi Reiman
4933927fa9
Add a failing test
2019-05-22 16:34:25 +03:00
Kevin van Rooijen
259dd24105
Add test to ensure that the problems key is populated
2019-05-20 18:37:55 +02:00
Tommi Reiman
ad0bc7e013
Better errors for route-data merge errors
2019-05-15 22:54:35 +03:00
Tommi Reiman
6d263ae1b6
Test Pedestal error mapping, add dev helpers
2019-05-11 10:25:09 +03:00
Tommi Reiman
e70837b140
Merge pull request #263 from metosin/north
...
Closed spec validation demoed in Clojure/North (WIP)
2019-05-10 14:28:39 +03:00
Tommi Reiman
c3de6ff3dd
Fix tests
2019-05-01 22:40:44 +03:00
Valtteri Harmainen
f7332d3bc4
Fix empty query params map resulting in redundant '?' in path
2019-04-27 08:22:08 +03:00
Antti Leppänen
b258e0abba
Support html5 links inside Shadow DOM
2019-04-10 09:03:48 +03:00
Tommi Reiman
e41a50cb80
20% faster wildcard parameters with records
2019-03-07 08:20:41 +02:00
Tommi Reiman
5b19298803
CatchAll matcher catch with empty parameter, fixes #230
2019-03-06 19:49:27 +02:00
Tommi Reiman
850b47134a
Don't reorder routes with :linear-router, fixes #229
2019-03-06 19:24:16 +02:00
Tommi Reiman
161fd1dfb0
Polish tests
2019-03-03 21:58:17 +02:00
Tommi Reiman
90e2d3b0ae
Return of the spec-tests for cljs
2019-03-03 21:55:55 +02:00
Tommi Reiman
dc34720fee
Fixed based on Miikka's review
2019-03-03 21:55:39 +02:00
Tommi Reiman
a2843dd097
New reitit-dev module for pretty errors
2019-03-03 20:54:21 +02:00
Tommi Reiman
998bf4a0d4
Empty colon-params are ignored
2019-03-01 22:12:11 +02:00
Tommi Reiman
f0a6ceb837
rename internals for clarity
2019-02-28 12:12:28 +02:00
Tommi Reiman
3aae55bd8c
Welcome TrieCompiler
2019-02-28 12:12:28 +02:00
Tommi Reiman
aea8a8f2d5
Emoji routing
2019-02-28 12:12:28 +02:00
Tommi Reiman
9422cd28c1
create empty path-parameters at creation time, 266ns->251ns (-6%)
2019-02-28 12:12:28 +02:00
Tommi Reiman
69550febfa
dead code
2019-02-28 12:11:05 +02:00