Skip to content

Conversation

lennymlopes
Copy link
Contributor

Summary:
This PR fixes an incompatibility between exporting and parsing: relationship names containing spaces were exported without quotes, producing DBML that could not be parsed back.
(See #581)

Changes:

Added quoteIdentifier() to relationship names.

Why:
Ensures that exported DBML is always valid and re-parsable, avoiding round-trip errors when using space-containing table names.

Tests:

Verified round-trip (export → parse → export) produces consistent results.

fixes #586

Copy link

vercel bot commented Sep 22, 2025

Someone is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@1ilit 1ilit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link

vercel bot commented Sep 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
drawdb Ready Ready Preview Comment Sep 23, 2025 6:55am

@1ilit 1ilit merged commit 7020afb into drawdb-io:main Sep 23, 2025
3 checks passed
@lennymlopes
Copy link
Contributor Author

Thank you for this awesome project!

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

Successfully merging this pull request may close these issues.

[BUG] Missing quotes in relationship names with spaces for DBML exports
2 participants