mirror of
https://github.com/metosin/reitit.git
synced 2026-02-22 18:19:08 +00:00
Compare commits
1 commit
c3cb3778d1
...
4403a4cc5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4403a4cc5b |
1 changed files with 0 additions and 13 deletions
|
|
@ -109,16 +109,3 @@ Malli humanized error messages can be configured using `:options :errors`:
|
|||
```
|
||||
|
||||
See the malli docs for more info.
|
||||
|
||||
## Custom registry
|
||||
|
||||
Malli registry can be configured conveniently via `:options :registry`:
|
||||
|
||||
```clj
|
||||
(require '[malli.core :as m])
|
||||
|
||||
(reitit.coercion.malli/create
|
||||
{:options
|
||||
{:registry {:registry (merge (m/default-schemas)
|
||||
{:my-type :string})}}})
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue