metosin/malli

PlantUML doesn't support keyword schemas

Open

#916 创建于 2023年7月5日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)Clojure (1,724 star) (237 fork)batch import
bughelp wanted

描述

I changed the Address example so that Burger is a keyword, the generated plant uml gives an error when rendering.

(def Address [:schema {:registry {"Country" [:map [:name [:enum :FI :PO]] [:neighbors [:vector [:ref "Country"]]]] :Burger [:map [:name string?] [:description {:optional true} string?] [:origin [:maybe "Country"]] [:price pos-int?]] "OrderLine" [:map [:burger :Burger] [:amount int?]] "Order" [:map [:lines [:vector "OrderLine"]] [:delivery [:map [:delivered boolean?] [:address [:map [:street string?] [:zip int?] [:country "Country"]]]]]]}}

贡献者指南