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 bidirectional projects for mesh #5890

Merged
merged 6 commits into from
Aug 6, 2024
Merged

Conversation

dave-connors-3
Copy link
Contributor

What are you changing in this pull request and why?

This PR adds text to explain the new bidirectional projects feature of dbt mesh. previously, we've called out that it's not possible to have projects depend on each other! now it is!

Checklist

Adding or removing pages (delete if not applicable):

  • Add/remove page in website/sidebars.js
  • Provide a unique filename for new pages
  • Add an entry for deleted pages in website/vercel.json
  • Run link testing locally with npm run build to update the links that point to deleted pages

@dave-connors-3 dave-connors-3 requested a review from a team as a code owner August 5, 2024 19:36
Copy link

vercel bot commented Aug 5, 2024

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

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Aug 6, 2024 9:34am

@github-actions github-actions bot added content Improvements or additions to content size: medium This change will take up to a week to address labels Aug 5, 2024

When setting up projects that depend on each other, it's important to do so in a stepwise fashion. Each project must run and produce public models before the original producer project can take a dependency on the original consumer project. For example, the order of operations would be as follows for a simple two-project setup:

1. The `project_a` project runs in a deployment environment and produces public models.
Copy link
Contributor

Choose a reason for hiding this comment

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

love this example! 💥

@github-actions github-actions bot added size: small This change will take 1 to 2 days to address and removed size: medium This change will take up to a week to address labels Aug 6, 2024
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

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

thanks so much @dave-connors-3 , looks awesome! i've just quickly turned this into a snippet so we can reuse it in multiple places and update it only in one. hope that's ok and going to approve + merge this for you!

@mirnawong1
Copy link
Contributor

preview looks good: https://docs-getdbt-jiibfp8v3-dbt-labs.vercel.app/best-practices/how-we-mesh/mesh-3-structures#cycle-detection. let me know if this there's anything you want to change and happy to open another pr to fix that up!

@mirnawong1 mirnawong1 merged commit 8700c3d into current Aug 6, 2024
10 checks passed
@mirnawong1 mirnawong1 deleted the bidirectional-xproj branch August 6, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants