Skip to content

fix [#31]: Add explicit 'file:' URL handling and update documentation#32

Merged
tvandinther merged 2 commits into
tvandinther:masterfrom
hypnotic-frog:fix/issue_31-add-file-url-case-and-docs
Aug 30, 2025
Merged

fix [#31]: Add explicit 'file:' URL handling and update documentation#32
tvandinther merged 2 commits into
tvandinther:masterfrom
hypnotic-frog:fix/issue_31-add-file-url-case-and-docs

Conversation

@hypnotic-frog
Copy link
Copy Markdown
Contributor

This PR introduces explicit support for URLs prefixed with 'file:' in the DatabaseWrapper, ensuring that local file databases are correctly recognized instead of relying on the default fallback.

Additionally, the documentation for DatabaseClientOptions.Url and README has been updated to clearly show how to open different types of databases:

  • In-memory database (":memory:" or "")
  • Local file database ("file:./mydb.sqlite")
  • Connection string examples

No breaking changes are introduced, and existing behavior for memory and remote URLs remains intact.

Closes issue #31.

@tvandinther
Copy link
Copy Markdown
Owner

Thanks for making these changes! I will give a proper review of the tests and documentation changes over the weekend.

Copy link
Copy Markdown
Owner

@tvandinther tvandinther left a comment

Choose a reason for hiding this comment

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

I've fixed the pipeline on master. Could you please rebase your changes so we can get a valid pipeline run?

Comment thread README.md
- Added explicit handling for URLs prefixed with 'file:' in DatabaseWrapper.
- Updated DatabaseClientOptions.Url documentation with examples for:
  - In-memory database
  - Local file database
  - Connection string
@hypnotic-frog hypnotic-frog force-pushed the fix/issue_31-add-file-url-case-and-docs branch from bea9558 to 38fe904 Compare August 30, 2025 13:30
@tvandinther tvandinther merged commit 7b1faf0 into tvandinther:master Aug 30, 2025
6 checks passed
@tvandinther
Copy link
Copy Markdown
Owner

tvandinther commented Aug 30, 2025

Thanks again for your contribution. Before I can cut a release I need to renew the Nuget tokens. Feel free to open an issue requesting a new release if you need it and it doesn't happen soon but I intend to address it in the next few days.

Edit: It is done.

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