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

Tauri adapter #1758

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Tauri adapter #1758

wants to merge 6 commits into from

Conversation

ospfranco
Copy link

I was tasked to create an adapter for Tauri. Here is my attempt at it. Since the Tauri communication bridge between JS and Rust is async, I pretty much took the Node adapter and promisified every operation. Along with some other changes.

Code is not 100% ready to be merged as I wasn't sure what's the best way to expose this driver (as some of the calls are hardcoded for node). But at least I thought leaving it here doesn't hurt.

@@ -1,7 +1,7 @@
// @flow
/* eslint-disable global-require */

import DatabaseBridge from '../sqlite-node/DatabaseBridge'
Copy link
Author

Choose a reason for hiding this comment

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

This path is hardcoded for node and I just replaced it for now.

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.

None yet

1 participant