Commit graph

13 commits

Author SHA1 Message Date
Tommi Reiman
ce06214014 welcome 2-phase schema compilation
1) use `:update-paths` to handle data in certain (loose) paths differently
  - accumulate schemas in all relevant routers into vector
  - we do not know the coercion here (ring/http have special handling of data, e.g. http-methods)

2) run coercion compiler for the model to merge the effective model
  - schema + malli = should work ok, spec = best effort

3) publish final schemas into compiled route data
2023-05-21 20:32:40 +03:00
Tommi Reiman
d45dd151b7 document meta-merge 2023-05-21 18:11:42 +03:00
Tommi Reiman
98a4d9b447 :meta-merge-fn -> :meta-merge 2023-01-21 10:56:42 +02:00
Paulo Feodrippe
fc73d02e01 add :meta-merge-fn option 2022-08-11 07:55:15 -04:00
Tommi Reiman
46897f3927 Update docs 2019-06-09 20:46:20 +03:00
Tommi Reiman
a2843dd097 New reitit-dev module for pretty errors 2019-03-03 20:54:21 +02:00
Tommi Reiman
578cad797e helping cljdoc 2018-05-29 23:18:06 +03:00
Tommi Reiman
7acf3f3357
Update configuring_routers.md 2018-05-29 16:03:25 +03:00
Tommi Reiman
91abf8db51 close markdown row 2018-05-22 11:53:31 +03:00
Tommi Reiman
526fb49f5a . 2017-12-28 10:44:35 +02:00
Tommi Reiman
9f324606ff Fix doc headers 2017-12-10 18:08:00 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
dfc3455f16 Update docs 2017-10-29 09:29:06 +02:00
Renamed from doc/configuring_routers.md (Browse further)