You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the arguments of a macro hasn't been documented, the following message is displayed under the Arguments section : "Details are not available for this macro"
This is 100% OK, but the same message is displayed when a macro doesn't have any argument. This is a bit confusing as it could be interpreted as a lack of documentation, whereas there's nothing to document.
It would be nice to have 2 different messages :
one when the arguments hasn't been documented (e.g. "Macro argument(s) hasn't been documented.")
one when the macro doesn't take any argument (e.g. "This macro doesn't have any argument.")
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Easy quick win :
Improve the existing message with something like "Details are not available for this macro. This may be due to the fact that this macro doesn't have any argument or that they haven't been documented yet." to warns that maybe it isn't a lack of docs.
This issue relates to this one on dbt-core project. @jtcohen6 recently commented this issue and thinks this quick win would happen here.
Additional context
Is this feature database-specific? Which database(s) is/are relevant? Please include any other relevant context here.
I encountered this trouble on a dbt x Redshift project, but I don't think there's any link with Redshift.
Who will this benefit?
What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.
This would be useful for everyone using macros and docs, but especially people who don't have access to the source code.
Also, that would avoid some bad impressions on the customer's side when a dev team has been hired to build a dbt project, as the customer may think they forgot some parts of the docs.
Are you interested in contributing this feature?
Let us know if you want to write some code, and how we can help.
I' like to help you, but I'm not really available for the moment :(
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Improve displayed message under "Arguments" section for argumentless macro
[CT-1809] Improve displayed message under "Arguments" section for argumentless macro
Jan 12, 2023
Improve the existing message with something like "Details are not available for this macro. This may be due to the fact that this macro doesn't have any argument or that they haven't been documented yet." to warns that maybe it isn't a lack of docs.
Whereas this would be much, much trickier to implement (as discussed in the original dbt-core issue):
It would be nice to have 2 different messages :
one when the arguments hasn't been documented (e.g. "Macro argument(s) hasn't been documented.")
one when the macro doesn't take any argument (e.g. "This macro doesn't have any argument.")
Going to mark this as a good_first_issue with the former in mind!
Describe the feature
When the arguments of a macro hasn't been documented, the following message is displayed under the Arguments section : "Details are not available for this macro"
This is 100% OK, but the same message is displayed when a macro doesn't have any argument. This is a bit confusing as it could be interpreted as a lack of documentation, whereas there's nothing to document.
It would be nice to have 2 different messages :
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Easy quick win :
This issue relates to this one on dbt-core project. @jtcohen6 recently commented this issue and thinks this quick win would happen here.
Additional context
Is this feature database-specific? Which database(s) is/are relevant? Please include any other relevant context here.
I encountered this trouble on a dbt x Redshift project, but I don't think there's any link with Redshift.
Who will this benefit?
What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.
This would be useful for everyone using macros and docs, but especially people who don't have access to the source code.
Also, that would avoid some bad impressions on the customer's side when a dev team has been hired to build a dbt project, as the customer may think they forgot some parts of the docs.
Are you interested in contributing this feature?
Let us know if you want to write some code, and how we can help.
I' like to help you, but I'm not really available for the moment :(
The text was updated successfully, but these errors were encountered: