Skip to content

Improve configuration process #25

@relu91

Description

@relu91

Currently, Zion utilizes a simple Env base configuration workflow. We should organize configuration parameters in a hierarchical data structure. Moreover, we have to keep in mind different developer workflows and experiences. This means that we need the flexibility to configure Zion from different sources with different priorities (like JSON/YAML files, CLI parameters, ENVs). This issue serves also as a place to evaluate different ideas before going to the PR phase.

Todos:

  • Refactoring code to have a structured config model
  • Support different development environments
  • Hooks on package.json
  • Configuration file support
  • CLI support
  • Review and check the defaults

Sources:

  1. Nest configuration
  2. Commander in Nest

Metadata

Metadata

Assignees

Labels

effort: dayspriority: high (2)High-priority issue that should be resolved as soon as possiblestatus: wip ⚡When there is a PR associated with the issue and it is in a draft mode or pending reviewtype: discussiontype: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions