Commit graph

307 commits

Author SHA1 Message Date
tjalkane
c1c3cd26b4 Remove duplicate require of schema.core 2020-06-26 00:25:09 +03:00
tjalkane
87d7e2e3c9 Fix: rename a test to make it run
The renamed test is redeclared later in the same namespace
causing the original one to not be run with `lein test`.
2020-06-26 00:16:06 +03:00
Tommi Reiman
681c994f7f Test that middleware swagger injections work 2020-05-26 22:35:43 +03:00
Tommi Reiman
f2e0470ecd
Merge pull request #408 from metosin/PR
Better malli-coercion
2020-05-26 22:03:45 +03:00
Tommi Reiman
57da6fa5ad optimized http-coercion 2020-05-26 21:32:26 +03:00
Tommi Reiman
e649ed22b9 New options for malli coercion 2020-05-26 08:09:35 +03:00
Tommi Reiman
f41006c8bb just validation 2020-05-25 23:50:27 +03:00
Tommi Reiman
a2d8208600 Fix #407 2020-05-25 21:54:27 +03:00
piotr-yuxuan
3e8eaa48d7
Fix default description
https://github.com/metosin/reitit/issues/403
2020-05-19 23:42:56 +01:00
Tommi Reiman
920c9d7cfd nil-punning on routes 2020-05-17 10:34:44 +03:00
Tommi Reiman
b1c8dbdaa4 Update sieppari, fix tests 2020-05-16 17:34:55 +03:00
Tommi Reiman
ddf56624b7 Update swagger test 2020-05-16 14:08:08 +03:00
Tommi Reiman
26dcbef5d1 Add tests for missing sieppari asyncs 2020-05-16 14:06:45 +03:00
Tommi Reiman
d36c47d7b1 :reitit.ring/default-options-endpoint & :reitit.http/default-options-endpoint 2020-05-12 21:21:39 +03:00
Tommi Reiman
fd0d7cc46c Add create-file-handler, fixes #395 2020-05-12 21:05:12 +03:00
Tommi Reiman
b8b442b598 Fix #394 2020-05-12 21:05:12 +03:00
Tommi Reiman
79c430d298 Fix tests 2020-05-12 21:04:35 +03:00
Tommi Reiman
9e7df6ca03 Support expand on default-options-endpoint 2020-05-12 20:11:39 +03:00
Caio Oliveira
029894b984
testing assertion 2020-05-12 10:46:53 -04:00
Caio Oliveira
4fa3e12b49
resource -> endpoint 2020-05-12 10:37:13 -04:00
Caio Oliveira
5796df494e
Change default-options-handler to default-options-resource
To make the options resource more customizable.
2020-04-11 20:46:06 -04:00
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