We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 451b286 commit 78aba57Copy full SHA for 78aba57
1 file changed
doc/coercion/malli_coercion.md
@@ -109,3 +109,16 @@ Malli humanized error messages can be configured using `:options :errors`:
109
```
110
111
See the malli docs for more info.
112
+
113
+## Custom registry
114
115
+Malli registry can be configured conveniently via `:options :registry`:
116
117
+```clj
118
+(require '[malli.core :as m])
119
120
+(reitit.coercion.malli/create
121
+ {:options
122
+ {:registry {:registry (merge (m/default-schemas)
123
+ {:my-type :string})}}})
124
+```
0 commit comments