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

getDatabaseEngine is returning wrong type #441

Open
InfiniteAengus opened this issue May 31, 2024 · 0 comments
Open

getDatabaseEngine is returning wrong type #441

InfiniteAengus opened this issue May 31, 2024 · 0 comments

Comments

@InfiniteAengus
Copy link

InfiniteAengus commented May 31, 2024

context.getDatabaseEngine is returning wrong type.
It returns an engine from DATABASE_ENGINES which has a single entry of type StorageEngineVerida but currently it's returning IStorageEngine which has no relationship between two.

And also context.databaseEngines is typed as [key: string]: IStorageEngine but it's assigning StorageEngineVerida type.

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

No branches or pull requests

1 participant