0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

📎 Update some docstrings on common/schema ns

This commit is contained in:
Andrey Antukh 2024-09-09 12:24:14 +02:00 committed by Alonso Torres
parent 749c369080
commit c578e31ae2

View file

@ -221,6 +221,8 @@
(v/-block "Schema" (v/-visit schema printer) printer)]})
(defn pretty-explain
"A helper that allows print a console-friendly output for the
explain; should not be used for other purposes"
[explain & {:keys [variant message]
:or {variant ::explain
message "Validation Error"}}]
@ -253,6 +255,7 @@
(declare ^:private lazy-schema)
;; DEPRECATED: should not be used for new code
(defn check-fn
"Create a predefined check function"
[s]