Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use config mods to fill in fields in the config #259

Open
rcannood opened this issue Oct 18, 2022 · 0 comments
Open

Use config mods to fill in fields in the config #259

rcannood opened this issue Oct 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rcannood
Copy link
Member

rcannood commented Oct 18, 2022

It might be useful if we could use config mods to query jsons inside of a config. For example:

functionality:
  name: foo
  arguments:
    - name: "--input"
      type: file
      default: ${.functionality.name}

(Not saying this particular example is useful, but there are other usecases where the functionality is useful)

Additionally, being able to use external files to fill in parts of a json would also be very useful. Example:

functionality:
  name: foo
  description: file://README.md}
  arguments:
    - inherit: ${file://api/unprocessed.yaml}
    - inherit: ${file://api/processed.yaml}
      direction: output

Before we start implementing something. let's first discuss whether we should and what the interface should look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant