Skip to content

Conversation

vr-varad
Copy link
Contributor

@vr-varad vr-varad commented Sep 7, 2025

Fixes #88

ctx := context.Background()

// Create DBOS context which will run migrations automatically for the system DB
_, err = createDBOSContext(dbURL)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's pass the context as the first argument (it is a go convention)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done @maxdml

@maxdml
Copy link
Collaborator

maxdml commented Sep 8, 2025

@vr-varad Thanks for the contribution! lgtm modulo a minor comment

@vr-varad vr-varad requested a review from maxdml September 8, 2025 17:25
Copy link
Collaborator

@maxdml maxdml left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @vr-varad !

@maxdml maxdml merged commit 574621c into dbos-inc:main Sep 9, 2025
2 checks passed
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.

Accept user-provided context.Context to build DBOSContext

2 participants