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

Support multi file configuration and module references #152

Open
vajda opened this issue Jun 14, 2017 · 0 comments
Open

Support multi file configuration and module references #152

vajda opened this issue Jun 14, 2017 · 0 comments

Comments

@vajda
Copy link

vajda commented Jun 14, 2017

Idea is to support definition of configuration objects in multiple files and be able to reference values across configuration files. This will provide support for implementing domain specific objects that could be packaged within jar and reused.

Configuration would look similar to the following:
userFile.yml

...
values:
  user:
    username: random(['Legolas', 'Aragorn', 'Gandalf'])
    firstName: random(['Peter', 'John', 'Mathew'])
    lastName: Smith

config.yml

...
include: userFile.yml as userFile

values:
  result:
    id: uuid()
    user: $userFile.user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant