From 962ffc6fb58a0d6d40063e534bc227ffdda89071 Mon Sep 17 00:00:00 2001 From: Ryan Schmukler Date: Thu, 11 Jun 2020 10:20:50 -0400 Subject: [PATCH] fix: coercion.malli use m/type Renames `m/name` to `m/type` per the breaking change introduced in malli 4880734d554511f16fee9c1d28a9d340c8b632c1. --- modules/reitit-malli/src/reitit/coercion/malli.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/reitit-malli/src/reitit/coercion/malli.cljc b/modules/reitit-malli/src/reitit/coercion/malli.cljc index 9300f5ad..1ea9951e 100644 --- a/modules/reitit-malli/src/reitit/coercion/malli.cljc +++ b/modules/reitit-malli/src/reitit/coercion/malli.cljc @@ -86,7 +86,7 @@ [{:in "body" :name (:title swagger-schema "body") :description (:description swagger-schema "") - :required (not= :maybe (m/name schema)) + :required (not= :maybe (m/type schema)) :schema swagger-schema}])) (defmethod extract-parameter :default [in schema options]