metosin/malli

PlantUML doesn't support keyword schemas

Open

#916 opened on Jul 5, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Clojure (1,724 stars) (237 forks)batch import
bughelp wanted

Description

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

Contributor guide

PlantUML doesn't support keyword schemas · metosin/malli#916 | Good First Issue