From 1da5fd106a64b242208656662e9f570a567c1d63 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 22 Oct 2024 17:10:04 +0200 Subject: [PATCH] :bug: Fix future linter issue on common schema ns --- common/src/app/common/schema.cljc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/common/src/app/common/schema.cljc b/common/src/app/common/schema.cljc index a576a2756..8acd34beb 100644 --- a/common/src/app/common/schema.cljc +++ b/common/src/app/common/schema.cljc @@ -29,8 +29,7 @@ (defprotocol ILazySchema (-validate [_ o]) - (-explain [_ o]) - (-decode [_ o])) + (-explain [_ o])) (def default-options {:registry sr/default-registry}) @@ -337,9 +336,7 @@ (-validate [_ o] (@validator o)) (-explain [_ o] - (@explainer o)) - (-decode [_ o] - (@decoder o))))) + (@explainer o))))) ;; --- BUILTIN SCHEMAS