littleK0i / SnowDDL

Declarative database change management tool for Snowflake
Apache License 2.0
104 stars 27 forks source link

Tasks, views, functions and procedures body text from script file #67

Closed oz-chewie closed 10 months ago

oz-chewie commented 10 months ago

Is your feature request related to a problem? Please describe. For tasks, views, functions and procedures it is a win to have code and yaml in separate files. This allows for easier testing and dev work and avoids inline quoting and formatting that ends up in repo code.

Describe the solution you'd like For tasks, views, functions and procedures support a new body option of either:

Describe alternatives you've considered Inline appears to be the only way to insert code into SnowSSL yaml for now.

littleK0i commented 10 months ago

It is currently available via !include custom tag: https://docs.snowddl.com/basic/yaml-tag-include

oz-chewie commented 10 months ago

Oh super nice! Would help if I could read :/