Skip to content

Conversation

@vladimirfomene
Copy link
Contributor

This PR fixes #674

Description

Currently SqliteDatabase::new takes a String as path,
with this change, it now accepts any type that implements
AsRef.

Notes to the reviewers

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature
  • I've updated CHANGELOG.md

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

@danielabrozzoni
Copy link
Member

Code review ACK 4f04341

Copy link
Member

@afilini afilini left a comment

Choose a reason for hiding this comment

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

ACK 4f04341

@afilini
Copy link
Member

afilini commented Jul 28, 2022

Can you rebase on the latest master to fix the conflicts?

Currently SqliteDatabase::new takes a String as path,
with this change, it now accepts any type that implements
AsRef<Path>.
@vladimirfomene vladimirfomene force-pushed the change-database-path-type branch from 4f04341 to 558e37a Compare July 29, 2022 14:43
@vladimirfomene
Copy link
Contributor Author

Done @afilini !

@danielabrozzoni
Copy link
Member

utACK 558e37a

@danielabrozzoni danielabrozzoni merged commit a147740 into bitcoindevkit:master Jul 30, 2022
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.

SqliteDatabase::new should take a Path

3 participants