Fix dynamically disabled transforms always running
With the updates introduced in dbt-tap-gitlab#2 (closed), we can now have transforms that are dynamically enabled or disabled depending on the environment Meltano runs.
In the case of
dbt-tap-gitlab, the transforms (models) that depend on the
epic_issues table should be disabled when the env var
$GITLAB_API_ULTIMATE_LICENSE is not true.
The behavior described above is not true at the moment --> Our dbt package disregards the value of
$GITLAB_API_ULTIMATE_LICENSE and always runs all transforms.
The dbt package works correctly; the problem lies in the dbt_project.yml setup we have in Meltano and especially the fact that we are enabling all models by default:
... ... models: enabled: true ... ...
That takes precedence to any update inside the package and enables all models whatever the package decides to do.