Expand guidance on late-rendering for hooks #2818
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
improvement
Use this when an area of the docs needs improvement as it's currently unclear
paper cut
Common point of confusion, resulting in frequent threads or duplicate issues
Milestone
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/resource-configs/pre-hook-post-hook
https://docs.getdbt.com/docs/building-a-dbt-project/dont-nest-your-curlies#an-exception
What part(s) of the page would you like to see updated?
This is one of my least favorite things in dbt. It should not be considered a "happy path." And yet we get issues about it all the time:
Specifically, if you want to:
{{ ref() }}
or{{ source() }}
call within a hook{{ this.type }}
inside a hookIt would be great, during
dbt-core
issue triage, to have a clear set of documentation (with examples) to pass along. Even though this is not a pattern we recommend, exactly, it does unlock some intermediate/advanced use cases for a handful of users.Additional information
No response
The text was updated successfully, but these errors were encountered: