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

Update database prep examples/docs to use dependency context #21

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

stephencelis
Copy link
Member

Using inMemory explicitly unfortunately opens you up to preview crashes at the app entry point where it attempts to open a connection to a file, so let's rely on @Dependency(\.context) instead.

Using `inMemory` explicitly unfortunately opens you up to preview
crashes at the app entry point where it attempts to open a connection to
a file, so let's rely on `@Dependency(\.context)` instead.
@mbrandonw mbrandonw merged commit 1093770 into main Feb 21, 2025
2 checks passed
@mbrandonw mbrandonw deleted the db-prepare-fixes branch February 21, 2025 22:25
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