dbt v3.1.0 Release Notes
Release Date: 2020-10-08 // over 3 years ago-
โ Adds ability to load boilerplate templates from base64 encoded text.
๐ To utilize, build like
go build -ldflags "-X github.com/nikogura/dbt/pkg/dbt.METADATA_TEMPLATE=${METADATA_TEMPLATE}"
to override included metadata template for producingmetadata.json
withdbt boilerplate gen
.๐ Can be done via gomason >= 2.2.6 by including
"-X github.com/nikogura/dbt/pkg/dbt.METADATA_TEMPLATE=${METADATA_TEMPLATE}" in each build target in
metadata.json`๐ง This method of customizing the boilerplate templates is crude, but is less involved than hacking the source code directly. It arguably will allow for easier maintenance of forks.