Skip to content

Conversation

@trygvea
Copy link

@trygvea trygvea commented Jun 5, 2023

Currently, @eik/service is responsible for loading the configuration. We need more flexibility for implementations of this service to add its own config, or having separate configs for different environments/hosts etc.

This is a proposal for sending config as constructor param to EikService, using JSDoc to describe the config. Old convict defaults is preserved.

This PR introduces a BREAKING_CHANGE.

Trygve Amundsen added 2 commits June 5, 2023 16:37
BREAKING_CHANGE: receive config in Service constructor in stead of reading it
from config file.
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.

1 participant