metosin/malli

PlantUML doesn't support keyword schemas

Open

#916 ouverte le 5 juil. 2023

Voir sur GitHub
 (2 commentaires) (0 réactions) (1 assigné)Clojure (237 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (1 724 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur