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

generator: Add Default impl to generated config #84

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

tony-iqlusion
Copy link
Member

This might be something the framework should require and leverage, so apps always have a default configuration to start with which is replaced with values from the config file once loaded.

For now though, the framework does not require the config types impl Default, and it's merely a recommended best practice (it is potentially very helpful for testing).

This might be something the framework should require and leverage, so
apps always have a default configuration to start with which is replaced
with values from the config file once loaded.

For now though, the framework does not require the config types impl
`Default`, and it's merely a recommended best practice.
@tony-iqlusion tony-iqlusion merged commit ae13995 into develop Jul 10, 2019
@tony-iqlusion tony-iqlusion deleted the config-defaults branch July 10, 2019 18:32
@tony-iqlusion tony-iqlusion mentioned this pull request Jul 17, 2019
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

Successfully merging this pull request may close these issues.

None yet

1 participant