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

Connector - Fix escape note with special characters #639

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

huyleminh01
Copy link
Contributor

@huyleminh01 huyleminh01 commented Sep 17, 2024

Summary

  • Add more tests for dbml connector after fixing escape quote string

Issue

Lasting Changes (Technical)

(please list down: code changes/things that have wide-effect; new libraries/functions added that can be used by others; examples below)

  • (Added class EmailValidator to validate email address' validity)
  • (Added Tenant#is_trial? check)

Checklist

Please check directly on the box once each of these are done

  • Documentation (if necessary)
  • Tests (integration test/unit test)
  • Integration Tests Passed
  • Code Review

@@ -142,7 +142,7 @@ Table "dbo"."StringTypes" {

Table "dbo"."table_with_comments" {
"created_at" datetime2 [default: `getdate()`, note: 'Timestamp when the item was created.']
"description" text [note: 'Detailed description of the item.']
"description" text [note: '''Item\'s description''']
Copy link
Collaborator

Choose a reason for hiding this comment

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

Try something like this:

note: '''Item\'s description for \'mssql\''''

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test added in ef2b37b

@huyleminh01 huyleminh01 merged commit cbd5be1 into master Sep 18, 2024
3 checks passed
@huyleminh01 huyleminh01 deleted the fix/escape-comment-from-connector branch September 18, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants