Closed brunocostalopes closed 1 year ago
This is totally reasonable! If you wanted to have a go at resolving this, there is some prior art here:
If you created a new def
called number_or_jinja_string
, you could swap out
https://github.com/dbt-labs/dbt-jsonschema/blob/26b2a7cf0cdbd30c46fe83af964efb1226b00e23/schemas/dbt_yml_files.json#L603-L606
for
"count": {
"$ref": "#/$defs/number_or_jinja_string"
},
You've made it sound super easy. Let me give it a go.
@joellabes looks like this one might be solved?
The following raises a
"Incorrect Type". Expected "number"
error.It's probably a slightly "unorthodox" use case and I'm not sure it can be fixed but thought I should raise anyway.