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

feat: dependent features use new transaction mechanism #5073

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Oct 17, 2023

About the changes

Dependent features use new transaction mechanism

Added missing transactions in delete dependencies operations.

Important files

Discussion points

@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2023 6:52am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2023 6:52am

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

LG!

: createFakeDependentFeaturesService(config);
const transactionalDependentFeaturesService = (txDb: Knex.Transaction) =>
createDependentFeaturesService(txDb, config);
const transactionalDependentFeaturesService = db
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need both dependentFeatureService and transactionalDependentFeaturesService? I think you can just

const dependentFeaturesService = transactionalDependentFeaturesService

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you're right, we don't need both.

@kwasniew kwasniew merged commit 75b1311 into main Oct 18, 2023
7 checks passed
@kwasniew kwasniew deleted the new-transactions-dependent-features branch October 18, 2023 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants