diff --git a/examples/frontend-malli/src/frontend/core.cljs b/examples/frontend-malli/src/frontend/core.cljs index 1414d76f..6708ef46 100644 --- a/examples/frontend-malli/src/frontend/core.cljs +++ b/examples/frontend-malli/src/frontend/core.cljs @@ -71,7 +71,10 @@ :parameters {:path [:map [:id :int]] :query [:map - [:foo {:optional true} :keyword]]}}]]) + [:foo {:optional true} :keyword] + ;; ?repeated=a ==> ["a"] + ;; ?repeated=a&repeated=b ==> ["a" "b"] + [:repeated [:vector {:decode/string #(if (string? %) [%] %)} :string]]]}}]]) (defn init! [] (rfe/start!