Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat empty diagrams as errors #246

Closed
bkryza opened this issue Feb 27, 2024 · 0 comments
Closed

Treat empty diagrams as errors #246

bkryza opened this issue Feb 27, 2024 · 0 comments
Milestone

Comments

@bkryza
Copy link
Owner

bkryza commented Feb 27, 2024

Currently, if the diagram specification results in an empty diagram the result PlantUML or MermaidJS source is still generated, potentially overwriting previous diagram with the same.

By default it should be the case that when diagram is empty, an error is show to the user and the diagram file is not written.

There might be an option to force generation of the diagram source file even when it is empty.

@bkryza bkryza added this to the 0.5.1 milestone Feb 27, 2024
@bkryza bkryza mentioned this issue Mar 6, 2024
@bkryza bkryza closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant