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

SQLite: allow enabling foreign keys in GetConnectionString #3253

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

ItalyPaleAle
Copy link
Contributor

The _pragma=foreign_keys(1) option should be added only if the component requires it. Users should not be allowed to specify that.

The `_pragma=foreign_keys(1)` option should be added only if the component requires it. Users should not be allowed to specify that.

Signed-off-by: ItalyPaleAle <[email protected]>
@ItalyPaleAle ItalyPaleAle requested review from a team as code owners December 2, 2023 00:56
Copy link
Member

@berndverst berndverst left a comment

Choose a reason for hiding this comment

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

Could this be a breaking change for some users?

@ItalyPaleAle ItalyPaleAle added this pull request to the merge queue Dec 4, 2023
Merged via the queue into dapr:main with commit 79adc56 Dec 4, 2023
86 checks passed
@ItalyPaleAle
Copy link
Contributor Author

Could this be a breaking change for some users?

I would say potentially but it would require people to have been doing something "odd". The current component doesn't require foreign keys, so if someone were enabling that, it would have been them trying to do something unusual.

@ItalyPaleAle ItalyPaleAle deleted the sqlite-fk branch December 4, 2023 23:27
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.

2 participants