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

Make logging consistent in migration.ts #438

Merged
merged 6 commits into from
May 11, 2024

Conversation

demetris-manikas
Copy link
Contributor

@demetris-manikas demetris-manikas commented May 10, 2024

This PR makes logging of execSync errors typed and consistent in migration.ts.
It also removes some //eslint-disable from telemetry

@@ -490,12 +491,11 @@ export function Workflow(config: WorkflowConfig={}) {
return decorator;
}

export function Transaction(config: TransactionConfig={}) {
export function Transaction<T extends UserDatabaseClient>(config: TransactionConfig={}) {
Copy link
Member

Choose a reason for hiding this comment

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

We're currently doing some refactoring on Transaction Context. So I'd remove this change to Transaction and imports from UserDatabaseClient.

@qianl15 qianl15 merged commit 62304df into dbos-inc:main May 11, 2024
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.

None yet

2 participants