metosin/malli

PlantUML doesn't support keyword schemas

オープン

#916 opened on 2023/07/05

 (2 件のコメント) (0 件のリアクション) (1 人の担当者)Clojure (237 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (1,724 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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"]]]]]]}}

コントリビューターガイド