-
Notifications
You must be signed in to change notification settings - Fork 973
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
add relative path snippet #6547
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
import RelativePath from '/snippets/_relative-path.md'; | ||
|
||
<RelativePath | ||
path="analysis-paths" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will these not work in the code examples? Is there something we can do to make them generic to include them in the snippet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately they dont seem to work w props. i spent longer than i should yesterday trying to get it to work and found it just easier to hardcode it. i think it could be generic but i found that it's better to be explicit with examples so users avoid having to guess or interpret.
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
this pr adds a snippet informing users to use relative path and not absolute as it can lead to weird outcomes.
soem page updated are:
https://docs.getdbt.com/reference/project-configs/analysis-paths
https://docs.getdbt.com/reference/project-configs/model-paths
https://docs.getdbt.com/reference/project-configs/seed-paths
https://docs.getdbt.com/reference/project-configs/snapshot-paths
https://docs.getdbt.com/reference/project-configs/test-paths
Resolves #3216
🚀 Deployment available! Here are the direct links to the updated files: