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

chore(util): Detect circular dependencies on soft delete #6489

Merged
merged 14 commits into from
Feb 24, 2024

Conversation

adrien2p
Copy link
Member

What
Detect circular soft remove configuration and throw. This prevents from having infinite loop and result into the call to hang. Also should prevent any mistake in relation configuration

Copy link

changeset-bot bot commented Feb 23, 2024

🦋 Changeset detected

Latest commit: 5ee2b20

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@adrien2p adrien2p marked this pull request as ready for review February 23, 2024 14:30
@adrien2p adrien2p requested review from a team as code owners February 23, 2024 14:30
Copy link

vercel bot commented Feb 23, 2024

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

Name Status Preview Comments Updated (UTC)
api-reference 🔄 Building (Inspect) Visit Preview Feb 23, 2024 8:15pm
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 8:15pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs-ui ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 8:15pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 8:15pm

Copy link
Contributor

@carlos-r-l-rodrigues carlos-r-l-rodrigues left a comment

Choose a reason for hiding this comment

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

🔥

@olivermrbl olivermrbl merged commit 168f02f into develop Feb 24, 2024
17 checks passed
@olivermrbl olivermrbl deleted the chore/utils-soft-delete-circular branch February 24, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants