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

Syntax error when executing plantuml using default scheme #2

Open
paulboocock opened this issue Jun 19, 2023 · 1 comment
Open

Syntax error when executing plantuml using default scheme #2

paulboocock opened this issue Jun 19, 2023 · 1 comment

Comments

@paulboocock
Copy link

When using the default scheme.j2, I get a syntax error as the plantuml preprocessor runs, whenever I have any references present in my dbml spec.

After a little debugging, and reading the plantuml docs, it looks like it should use a double colon :: rather than a single on the references.

https://github.com/foliant-docs/foliantcontrib.dbmldoc/blob/master/foliant/preprocessors/dbmldoc/template/scheme.j2#L22

Changing this to:

{{ table.name|indent }} --> {{ ref.table2.name }} :: {% for c in ref.col2 %}

removes the error and my uml diagram renders as I expect.

This also fails when following the instructions in the foliant docs: https://foliant-docs.github.io/docs/tutorials/db/dbml/

@sarim-zafar
Copy link

+1

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

2 participants