Custom Malli schema that supports regal directly.
Custom Malli schema that supports regal directly.
(->regal-schema)
(->regal-schema {:keys [type] :or {type :lambdaisland.regal.malli/regal}})
Add to registry with {:registry {::rm/regal (rm/->regal-schema)}}.
e.g., [:rm/regal [:+ "y"]]
A custom m/type can be provided with the :type argument: {:registry {:regal (rm/regal-schema {:type :regal)}}} e.g., [:regal [:+ "y"]]
Add to registry with {:registry {::rm/regal (rm/->regal-schema)}}. e.g., [:rm/regal [:+ "y"]] A custom m/type can be provided with the :type argument: {:registry {:regal (rm/regal-schema {:type :regal)}}} e.g., [:regal [:+ "y"]]
Consider using rm-regal-schema as it is namespaced to avoid registry clashes.
Add to registry with {:registry {:regal rm/regal-schema}}.
e.g., [:regal [:+ "y"]]
To register a generator, use (lambdaisland.regal.malli.generator/register-regal-generator {:type :regal}).
Consider using rm-regal-schema as it is namespaced to avoid registry clashes. Add to registry with {:registry {:regal rm/regal-schema}}. e.g., [:regal [:+ "y"]] To register a generator, use (lambdaisland.regal.malli.generator/register-regal-generator {:type :regal}).
Add to registry with {:registry {::rm/regal rm-regal-schema}}.
e.g., [::rm/regal [:+ "y"]]
To register a generator, use (lambdaisland.regal.malli.generator/register-regal-generator).
Add to registry with {:registry {::rm/regal rm-regal-schema}}. e.g., [::rm/regal [:+ "y"]] To register a generator, use (lambdaisland.regal.malli.generator/register-regal-generator).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close