distill options passed into transformers #35
Labels
chore
Related to tests, packaging, build, releases, etc.
package-transformers
Involving transformers package
Currently, we're sending whole gobs of configuration to transformers when we don't need to. Each transformer should probably define the options that it expects (e.g. via a schema like Rules support), and we can use that to pick the various useful options.
Configuration can be passed via:
Furthermore, default options should cascade within a transformer chain. If an option defines e.g.,
fields
, and the user has not, this setting should pass to the next transformer(s) in the chain as long as those transformers accept the configuration. The target transformer should prefer the config sent from the previous transformer and treat it like it was user-defined.The text was updated successfully, but these errors were encountered: