Repository navigation
Replies: 1 comment
|
A |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When managing dbt sources and schema YAML files, the lack of built-in sorting often leads to inconsistent ordering of elements like sources, tables, and models. Over time, especially in large projects with many contributors, this inconsistency makes the files harder to read, review, and maintain.
It would be highly beneficial to introduce a built-in or officially supported way to sort YAML definitions by name, particularly for:
This could be implemented as:
Adding such a feature would improve YAML consistency, reduce merge conflicts, and make diffs easier to interpret in pull requests.
Let me know if this proposal aligns with the dbt community’s direction or if there’s an existing solution worth contributing to.
If this feature does not currently exist in the dbt ecosystem or roadmap, I’m happy to contribute by developing the functionality myself and submitting a pull request. Please let me know if this would be a welcome contribution or if there are existing guidelines I should follow.
All reactions