Docs blocks don't work in exposures - 'doc' is undefined
#2913
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Describe the bug
Exposures containing a docs block don't compile in dbt Cloud because doc is undefined.
Steps To Reproduce
Create an exposure which references a doc block:
Expected behavior
The docs block to be rendered
Screenshots and log output
Compilation Error Failed to render models/exposures/licence_status_stats.yml from project educationperfect: Compilation Error Could not render {{ doc("licence_status_stats_descr") }}: 'doc' is undefined
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
dbt Cloud
The output of
python --version
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: