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

Column name 'icon' in sql_table #1980

Closed
bt opened this issue Jun 18, 2024 · 3 comments
Closed

Column name 'icon' in sql_table #1980

bt opened this issue Jun 18, 2024 · 3 comments

Comments

@bt
Copy link

bt commented Jun 18, 2024

Hi all,

Just came across D2 and using it to draw some of my ERDs. I have a table that I use to store something that has to do with icons. One of the column names is icon, but I can't use it because it thinks that it is referring to an icon file.

The 'icon' column is a string that refers to a path, so in the D2 I use:

icon: string

This will throw the following error when rendering:

err: failed to bundle string: open string: no such file or directory
err: failed to compile app.d2: failed to bundle local images: [string]
@bo-ku-ra
Copy link
Contributor

fyi
#1419 (comment)

@bo-ku-ra
Copy link
Contributor

@alixander will it be implemented?
#1419 (comment)

@bt
Copy link
Author

bt commented Jun 19, 2024

Thank you - that fixed it 👍

@bt bt closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants