sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
52 stars 2 forks source link

Support configuring function config #144

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

We should support how a function deals with parameters and other APIs exposed by pydantic.

For instance here, this will throw an error saying extra fields not permitted

feature_type<-:
  status: TODO
  issue: ""

foo:
  status: ba
#  issue: baz
  bar: baz

f->: "{{feature_type(**foo)}}"